Implement the tick event
This makes our tests less flaky, shorter, and more readable. fixes #2988
This commit is contained in:
@ -36,8 +36,6 @@ SKIP: {
|
||||
skip "setxkbmap not found", 1 if
|
||||
system(q|setxkbmap -print >/dev/null|) != 0;
|
||||
|
||||
start_binding_capture;
|
||||
|
||||
system(q|setxkbmap us,ru -option grp:alt_shift_toggle|);
|
||||
|
||||
is(listen_for_binding(
|
||||
@ -87,9 +85,6 @@ is(listen_for_binding(
|
||||
'Mod4+Return',
|
||||
'triggered the "Mod4+Return" keybinding');
|
||||
|
||||
sync_with_i3;
|
||||
is(scalar @i3test::XTEST::binding_events, 4, 'Received exactly 4 binding events');
|
||||
|
||||
# Disable the grp:alt_shift_toggle option, as we use Alt+Shift in other testcases.
|
||||
system(q|setxkbmap us -option|);
|
||||
|
||||
|
Reference in New Issue
Block a user