aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-30 13:10:56 -0400
committerGitHub <noreply@github.com>2018-07-30 13:10:56 -0400
commit6c30b3fcc89c4965b950c8bab6fe0c45425e5a2c (patch)
treec5af48d8707f9dceab3a827069f81c2682013f70 /include
parentc1bf8d04be6405a4549cdd87bf2ea54faa9d01a8 (diff)
parent8dbbfa5965ca8bfe4bc023100387dd657bafe48e (diff)
downloadsway-6c30b3fcc89c4965b950c8bab6fe0c45425e5a2c.tar.xz
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,