aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-14 14:06:35 -0500
committerLibravatar emersion <contact@emersion.fr>2019-01-14 20:15:23 +0100
commit2573606b60f0606860634b90749f734cd0e918b7 (patch)
tree35d9264a20a6e78134c8b39361123143f90b5e32 /include
parentCONTRIBUTING.md: mention tab width for line length (diff)
downloadsway-2573606b60f0606860634b90749f734cd0e918b7.tar.gz
sway-2573606b60f0606860634b90749f734cd0e918b7.tar.zst
sway-2573606b60f0606860634b90749f734cd0e918b7.zip
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')
-rw-r--r--include/sway/input/keyboard.h1
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);
51 51
52void sway_keyboard_destroy(struct sway_keyboard *keyboard); 52void sway_keyboard_destroy(struct sway_keyboard *keyboard);
53 53
54void sway_keyboard_disarm_key_repeat(struct sway_keyboard *keyboard);
54#endif 55#endif