]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/101-focus.t
Allow focus child/parent when in fullscreen.
[i3/i3] / testcases / t / 101-focus.t
index 51119007f2c3c53d913089cac23aea9ec680006f..8a795c46c0a3d4f8a555fa08f5700c0be00b9cf0 100644 (file)
@@ -3,8 +3,6 @@
 
 use i3test;
 
-my $x = X11::XCB::Connection->new;
-
 my $tmp = fresh_workspace;
 
 #####################################################################
@@ -15,9 +13,9 @@ my $tmp = fresh_workspace;
 cmd 'layout default';
 cmd 'split v';
 
-my $top = open_window($x);
-my $mid = open_window($x);
-my $bottom = open_window($x);
+my $top = open_window;
+my $mid = open_window;
+my $bottom = open_window;
 
 #
 # Returns the input focus after sending the given command to i3 via IPC
@@ -27,7 +25,6 @@ sub focus_after {
     my $msg = shift;
 
     cmd $msg;
-    sync_with_i3 $x;
     return $x->input_focus;
 }