From ecf6d868aa0fbf1f30c2a286a526018d412e7e28 Mon Sep 17 00:00:00 2001 From: Riley Beckett Date: Fri, 24 Oct 2025 19:14:25 -0400 Subject: these macros maybe work --- keyboard.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keyboard.c') diff --git a/keyboard.c b/keyboard.c index 710ec76..470fd11 100644 --- a/keyboard.c +++ b/keyboard.c @@ -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, -- cgit v1.2.3