]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/164-kill-win-vs-client.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 164-kill-win-vs-client.t
index df9b7fd868ea134e3c120566015fe8556a7c3e9a..165a32cec0f90438e31d4d6472104534af55cade 100644 (file)
@@ -11,10 +11,8 @@ sub two_windows {
 
     ok(@{get_ws_content($tmp)} == 0, 'no containers yet');
 
-    my $first = open_window($x);
-    my $second = open_window($x);
-
-    sync_with_i3 $x;
+    my $first = open_window;
+    my $second = open_window;
 
     is($x->input_focus, $second->id, 'second window focused');
     ok(@{get_ws_content($tmp)} == 2, 'two containers opened');