]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/101-focus.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 101-focus.t
index 070d1385688c87e7b41e5649bdf22ad85556bd05..8a795c46c0a3d4f8a555fa08f5700c0be00b9cf0 100644 (file)
@@ -13,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
@@ -25,7 +25,6 @@ sub focus_after {
     my $msg = shift;
 
     cmd $msg;
-    sync_with_i3 $x;
     return $x->input_focus;
 }