aboutsummaryrefslogtreecommitdiff
path: root/keyboard.c
diff options
context:
space:
mode:
authorJack Jamison <jackqjamison@gmail.com>2025-11-05 20:15:24 -0500
committerJack Jamison <jackqjamison@gmail.com>2025-11-06 19:45:21 -0500
commit784f7000f29498e6c111afa78a53950989ee94b6 (patch)
tree8bf46ef56d4e4376227354c722c8c5bad0e6b4b3 /keyboard.c
parenta5f6176f7ff33c0200a0686f4ba4ce264d578287 (diff)
more keybinds and fixes
Diffstat (limited to 'keyboard.c')
-rw-r--r--keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard.c b/keyboard.c
index 3836333..1ab8f9e 100644
--- a/keyboard.c
+++ b/keyboard.c
@@ -81,7 +81,7 @@ void wl_keyboard_key(void *data, struct wl_keyboard *wl_keyboard,
if (key_state == WL_KEYBOARD_KEY_STATE_PRESSED) {
// if the key is one we should repeat
- if (type_key(state, keysym)) {
+ if (execute_keypress(state, keysym) == KEY_REPEAT) {
// start repeat
state->repeat_key = keysym;
struct itimerspec timer = {0};