summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-01-14 14:06:35 -0500
committerFurkan Sahin <furkan-dev@proton.me>2019-01-14 14:06:35 -0500
commitf839039b292787a63207afb235d8f09c9526d22a (patch)
tree35d9264a20a6e78134c8b39361123143f90b5e32 /include
parentedf6b71085e026a261caa8348179e7688cbef2f3 (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')
-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);
void sway_keyboard_destroy(struct sway_keyboard *keyboard);
+void sway_keyboard_disarm_key_repeat(struct sway_keyboard *keyboard);
#endif