]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/506-focus-right.t
tests: sync_with_i3 before warping pointer
[i3/i3] / testcases / t / 506-focus-right.t
index 3f58b00c2950baf697e6fc9dc737241ebd9330b7..aa0b9c9aee921d982a43458e0d63b7c1a87083dd 100644 (file)
@@ -28,6 +28,7 @@ sub test_focus_left_right {
 
     my $i3 = i3(get_socket_path(0));
 
+    sync_with_i3;
     $x->root->warp_pointer(0, 0);
     sync_with_i3;
 
@@ -140,6 +141,7 @@ my $pid = launch_with_config($config);
 
 my $i3 = i3(get_socket_path(0));
 
+sync_with_i3;
 $x->root->warp_pointer(0, 0);
 sync_with_i3;