aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-07-30 13:10:56 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-07-30 13:10:56 -0400
commitd8be0f1730d336a8f2df93241453bfc2cf12c951 (patch)
treec5af48d8707f9dceab3a827069f81c2682013f70 /include
parentd3fbb6217eb220e4eef33e728c4b4fefed6aa752 (diff)
parent711b463dbbe97bd60bc6cc1bcbc05d67672327ee (diff)
Merge pull request #2381 from frsfnrrg/key-repeat
Implement key repeat for keybindings
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/keyboard.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/input/keyboard.h b/include/sway/input/keyboard.h
index 6713398e..6d28454c 100644
--- a/include/sway/input/keyboard.h
+++ b/include/sway/input/keyboard.h
@@ -38,6 +38,9 @@ struct sway_keyboard {
struct sway_shortcut_state state_keysyms_raw;
struct sway_shortcut_state state_keycodes;
struct sway_binding *held_binding;
+
+ struct wl_event_source *key_repeat_source;
+ struct sway_binding *repeat_binding;
};
struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,