diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-10-29 12:25:15 +0000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-10-29 12:25:15 +0000 |
| commit | 90daa5e11f22df41423e61bb4b890d5d8657afee (patch) | |
| tree | f0bdf5c13d00edfcfa8c4c4803c40d2d675076fa /include | |
| parent | 11b24043fa4cb787cccb7788e060567df39940b7 (diff) | |
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 <me@snai.pe>
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 { uint32_t last_keycode; uint32_t last_raw_modifiers; size_t npressed; + uint32_t current_key; }; struct sway_keyboard { |
