aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-03 17:57:59 +0100
committerGitHub <noreply@github.com>2018-11-03 17:57:59 +0100
commitc18cd9dd0369452a8b09ac2290d4a0a5b29d6ded (patch)
treed2fec81043b527ce5e770421381a9342cf1dad79 /include/sway/input
parentbaf4841d790a976bc6293b9b5d1e70621f236747 (diff)
parentf8e83ee20aee1f583378b50040445c38eae91f24 (diff)
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/input')
-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 {
uint32_t last_keycode;
uint32_t last_raw_modifiers;
size_t npressed;
+ uint32_t current_key;
};
struct sway_keyboard {