mirror of
https://github.com/swaywm/sway.git
synced 2026-03-12 05:34:29 -04:00
Merge pull request #2578 from RyanDwyer/fix-binding-reload
Fix management of bindings during reload
This commit is contained in:
commit
bea9f9c63f
2 changed files with 3 additions and 4 deletions
|
|
@ -278,12 +278,11 @@ static void handle_keyboard_key(struct wl_listener *listener, void *data) {
|
|||
raw_modifiers, false, input_inhibited);
|
||||
|
||||
if (binding_pressed) {
|
||||
seat_execute_command(seat, binding_pressed);
|
||||
handled = true;
|
||||
|
||||
if ((binding_pressed->flags & BINDING_RELOAD) == 0) {
|
||||
next_repeat_binding = binding_pressed;
|
||||
}
|
||||
seat_execute_command(seat, binding_pressed);
|
||||
handled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue