From 2573606b60f0606860634b90749f734cd0e918b7 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Mon, 14 Jan 2019 14:06:35 -0500 Subject: 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. --- include/sway/input/keyboard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.3