diff options
| author | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-24 19:14:25 -0400 |
|---|---|---|
| committer | Riley Beckett <rbeckettvt@gmail.com> | 2025-10-24 19:14:25 -0400 |
| commit | ecf6d868aa0fbf1f30c2a286a526018d412e7e28 (patch) | |
| tree | b570089bbaea046d4c4124e8ab66321b77cc049a /keyboard.c | |
| parent | ec67361bb19d4c43ca41df6a56beb5b29344bc6a (diff) | |
these macros maybe work
Diffstat (limited to 'keyboard.c')
| -rw-r--r-- | keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -126,6 +126,8 @@ void wl_keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, uint32_t group) { client_state* state = data; xkb_state_update_mask(state->xkb_state, mods_depressed, mods_latched, mods_locked, 0, 0, group); + struct itimerspec timer = {0}; + timerfd_settime(state->key_repeat_timer_fd, 0, &timer, NULL); } void wl_keyboard_repeat_info(void *data, struct wl_keyboard *wl_keyboard, |
