mirror of
https://github.com/swaywm/sway.git
synced 2026-04-02 07:15:50 -04:00
Disarm key repeat on reload
When resetting the keyboard during reload, disarm the key repeat on all keyboards since the bindings (and possibly keyboard) will be freed before the key repeat can go off.
This commit is contained in:
parent
2257368f1a
commit
2573606b60
3 changed files with 14 additions and 4 deletions
|
|
@ -542,6 +542,7 @@ void seat_reset_device(struct sway_seat *seat,
|
|||
seat_reset_input_config(seat, seat_device);
|
||||
break;
|
||||
case WLR_INPUT_DEVICE_KEYBOARD:
|
||||
sway_keyboard_disarm_key_repeat(seat_device->keyboard);
|
||||
sway_keyboard_configure(seat_device->keyboard);
|
||||
break;
|
||||
case WLR_INPUT_DEVICE_TOUCH:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue