t/510-focus-across-outputs: fix sync order
syncing _after_ fresh_workspace makes no change, but we need to wait for the WarpPointer request to be processed.
This commit is contained in:
parent
92e2190300
commit
27adbbff61
|
@ -39,22 +39,22 @@ cmd 'floating toggle';
|
||||||
|
|
||||||
# Focus screen 1
|
# Focus screen 1
|
||||||
$x->root->warp_pointer(1025, 0);
|
$x->root->warp_pointer(1025, 0);
|
||||||
my $s1_ws = fresh_workspace;
|
|
||||||
sync_with_i3;
|
sync_with_i3;
|
||||||
|
my $s1_ws = fresh_workspace;
|
||||||
|
|
||||||
my $fourth = open_window;
|
my $fourth = open_window;
|
||||||
|
|
||||||
# Focus screen 2
|
# Focus screen 2
|
||||||
$x->root->warp_pointer(0, 769);
|
$x->root->warp_pointer(0, 769);
|
||||||
my $s2_ws = fresh_workspace;
|
|
||||||
sync_with_i3;
|
sync_with_i3;
|
||||||
|
my $s2_ws = fresh_workspace;
|
||||||
|
|
||||||
my $fifth = open_window;
|
my $fifth = open_window;
|
||||||
|
|
||||||
# Focus screen 3
|
# Focus screen 3
|
||||||
$x->root->warp_pointer(1025, 769);
|
$x->root->warp_pointer(1025, 769);
|
||||||
my $s3_ws = fresh_workspace;
|
|
||||||
sync_with_i3;
|
sync_with_i3;
|
||||||
|
my $s3_ws = fresh_workspace;
|
||||||
|
|
||||||
my $sixth = open_window;
|
my $sixth = open_window;
|
||||||
my $seventh = open_window;
|
my $seventh = open_window;
|
||||||
|
|
Loading…
Reference in New Issue