From f8e83ee20aee1f583378b50040445c38eae91f24 Mon Sep 17 00:00:00 2001 From: "Franklin \"Snaipe\" Mathieu" Date: Mon, 29 Oct 2018 12:25:15 +0000 Subject: binding: match single-key bindings if no multi-key binding matched This makes bindings more snappy when the user is typing faster than his keycaps are releasing. Signed-off-by: Franklin "Snaipe" Mathieu --- include/sway/input/keyboard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sway/input') diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h index 6d28454c..86805be3 100644 --- a/include/sway/input/keyboard.h +++ b/include/sway/input/keyboard.h @@ -24,6 +24,7 @@ struct sway_shortcut_state { uint32_t last_keycode; uint32_t last_raw_modifiers; size_t npressed; + uint32_t current_key; }; struct sway_keyboard { -- cgit v1.2.3