Merge pull request #2381 from frsfnrrg/key-repeat

Implement key repeat for keybindings
This commit is contained in:
Drew DeVault 2018-07-30 13:10:56 -04:00 committed by GitHub
commit 6c30b3fcc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -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,