fix flaky testcases/t/185-scratchpad.t: sync after kill command

This commit is contained in:
Michael Stapelberg 2021-11-07 11:47:42 +01:00
parent 8e9da491f4
commit c4fdcc5dbc

View File

@ -972,6 +972,8 @@ sub kill_all_windows {
# Sync in case not all windows are managed by i3 just yet.
sync_with_i3;
cmd '[title=".*"] kill';
# Sync to make sure x_window_kill() calls have taken effect.
sync_with_i3;
}
=head2 events_for($subscribecb, [ $rettype ], [ $eventcbs ])