]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/510-focus-across-outputs.t
tests: sync_with_i3 before warping pointer
[i3/i3] / testcases / t / 510-focus-across-outputs.t
index 2c6fd396ff5471e0e55c0faee59152978ee81b44..afa0ddef77f3a925eecab1aa70b4816f7288468b 100644 (file)
@@ -38,6 +38,7 @@ my $third = open_window;
 cmd 'floating toggle';
 
 # Focus screen 1
+sync_with_i3;
 $x->root->warp_pointer(1025, 0);
 sync_with_i3;
 my $s1_ws = fresh_workspace;
@@ -45,6 +46,7 @@ my $s1_ws = fresh_workspace;
 my $fourth = open_window;
 
 # Focus screen 2
+sync_with_i3;
 $x->root->warp_pointer(0, 769);
 sync_with_i3;
 my $s2_ws = fresh_workspace;
@@ -52,6 +54,7 @@ my $s2_ws = fresh_workspace;
 my $fifth = open_window;
 
 # Focus screen 3
+sync_with_i3;
 $x->root->warp_pointer(1025, 769);
 sync_with_i3;
 my $s3_ws = fresh_workspace;