diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-14 14:06:35 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-14 20:15:23 +0100 |
commit | 2573606b60f0606860634b90749f734cd0e918b7 (patch) | |
tree | 35d9264a20a6e78134c8b39361123143f90b5e32 /include/sway/input | |
parent | 2257368f1a5617d536c51a3ab242455515313668 (diff) |
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.
Diffstat (limited to 'include/sway/input')
-rw-r--r-- | include/sway/input/keyboard.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h index 86805be3..65137a08 100644 --- a/include/sway/input/keyboard.h +++ b/include/sway/input/keyboard.h @@ -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 |