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:
Brian Ashworth 2019-01-14 14:06:35 -05:00
parent 2f36db15d4
commit 6bdfb82294
3 changed files with 14 additions and 4 deletions

View file

@ -51,4 +51,5 @@ void sway_keyboard_configure(struct sway_keyboard *keyboard);
void sway_keyboard_destroy(struct sway_keyboard *keyboard);
void sway_keyboard_disarm_key_repeat(struct sway_keyboard *keyboard);
#endif