diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-11-03 17:57:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-03 17:57:59 +0100 |
commit | c18cd9dd0369452a8b09ac2290d4a0a5b29d6ded (patch) | |
tree | d2fec81043b527ce5e770421381a9342cf1dad79 /include | |
parent | Merge pull request #3052 from colemickens/output-current-mode (diff) | |
parent | binding: match single-key bindings if no multi-key binding matched (diff) | |
download | sway-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')
-rw-r--r-- | include/sway/input/keyboard.h | 1 |
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 | ||
29 | struct sway_keyboard { | 30 | struct sway_keyboard { |