aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-07-30 13:10:56 -0400
committerLibravatar GitHub <noreply@github.com>2018-07-30 13:10:56 -0400
commit6c30b3fcc89c4965b950c8bab6fe0c45425e5a2c (patch)
treec5af48d8707f9dceab3a827069f81c2682013f70 /include
parentMerge pull request #2388 from 1ace/fix/delete-swaygrab (diff)
parentBindings use advised keyboard repeat parameters (diff)
downloadsway-6c30b3fcc89c4965b950c8bab6fe0c45425e5a2c.tar.gz
sway-6c30b3fcc89c4965b950c8bab6fe0c45425e5a2c.tar.zst
sway-6c30b3fcc89c4965b950c8bab6fe0c45425e5a2c.zip
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 {
38 struct sway_shortcut_state state_keysyms_raw; 38 struct sway_shortcut_state state_keysyms_raw;
39 struct sway_shortcut_state state_keycodes; 39 struct sway_shortcut_state state_keycodes;
40 struct sway_binding *held_binding; 40 struct sway_binding *held_binding;
41
42 struct wl_event_source *key_repeat_source;
43 struct sway_binding *repeat_binding;
41}; 44};
42 45
43struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat, 46struct sway_keyboard *sway_keyboard_create(struct sway_seat *seat,