t/219-ipc-window-focus.t: sync after kill
This commit is contained in:
parent
c4fdcc5dbc
commit
673185a63b
@ -56,7 +56,11 @@ sub kill_subtest {
|
||||
my $focus = AnyEvent->condvar;
|
||||
|
||||
my @events = events_for(
|
||||
sub { cmd $cmd },
|
||||
sub {
|
||||
cmd $cmd;
|
||||
# Sync to make sure x_window_kill() calls have taken effect.
|
||||
sync_with_i3;
|
||||
},
|
||||
'window');
|
||||
|
||||
is(scalar @events, 1, 'Received 1 event');
|
||||
|
Loading…
x
Reference in New Issue
Block a user