mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Merge pull request #2381 from frsfnrrg/key-repeat
Implement key repeat for keybindings
This commit is contained in:
commit
6c30b3fcc8
2 changed files with 43 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue