]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/156-fullscreen-focus.t
tests: sync_with_i3 before warping pointer
[i3/i3] / testcases / t / 156-fullscreen-focus.t
index 170c641d2e0b918c146738ce4f8965e52903c62d..b337de9a1db1a25db443dbbbdb71177e72d8ced7 100644 (file)
@@ -126,6 +126,7 @@ is($nodes->[0]->{focused}, 1, 'fullscreen window focused');
 cmd 'fullscreen';
 
 # Focus screen 1
+sync_with_i3;
 $x->root->warp_pointer(1025, 0);
 sync_with_i3;
 
@@ -134,6 +135,7 @@ cmd "workspace $tmp";
 my $diff_ws = open_window;
 
 # Focus screen 0
+sync_with_i3;
 $x->root->warp_pointer(0, 0);
 sync_with_i3;