summaryrefslogtreecommitdiffstats
path: root/include/sway
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-11-03 17:57:59 +0100
committerLibravatar GitHub <noreply@github.com>2018-11-03 17:57:59 +0100
commitc18cd9dd0369452a8b09ac2290d4a0a5b29d6ded (patch)
treed2fec81043b527ce5e770421381a9342cf1dad79 /include/sway
parentMerge pull request #3052 from colemickens/output-current-mode (diff)
parentbinding: match single-key bindings if no multi-key binding matched (diff)
downloadsway-c18cd9dd0369452a8b09ac2290d4a0a5b29d6ded.tar.gz
sway-c18cd9dd0369452a8b09ac2290d4a0a5b29d6ded.tar.zst
sway-c18cd9dd0369452a8b09ac2290d4a0a5b29d6ded.zip
Merge pull request #3021 from Snaipe/singlekey-binding-trigger
binding: match single-key bindings if no multi-key binding matched
Diffstat (limited to 'include/sway')
-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 6d28454c..86805be3 100644
--- a/include/sway/input/keyboard.h
+++ b/include/sway/input/keyboard.h
@@ -24,6 +24,7 @@ struct sway_shortcut_state {
24 uint32_t last_keycode; 24 uint32_t last_keycode;
25 uint32_t last_raw_modifiers; 25 uint32_t last_raw_modifiers;
26 size_t npressed; 26 size_t npressed;
27 uint32_t current_key;
27}; 28};
28 29
29struct sway_keyboard { 30struct sway_keyboard {