diff options
Diffstat (limited to 'swaylock/seat.c')
-rw-r--r-- | swaylock/seat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swaylock/seat.c b/swaylock/seat.c index 522200f2..6c46bb41 100644 --- a/swaylock/seat.c +++ b/swaylock/seat.c | |||
@@ -73,7 +73,9 @@ static void keyboard_key(void *data, struct wl_keyboard *wl_keyboard, | |||
73 | uint32_t keycode = key_state == WL_KEYBOARD_KEY_STATE_PRESSED ? | 73 | uint32_t keycode = key_state == WL_KEYBOARD_KEY_STATE_PRESSED ? |
74 | key + 8 : 0; | 74 | key + 8 : 0; |
75 | uint32_t codepoint = xkb_state_key_get_utf32(state->xkb.state, keycode); | 75 | uint32_t codepoint = xkb_state_key_get_utf32(state->xkb.state, keycode); |
76 | wlr_log(L_DEBUG, "%c %d", codepoint, sym); | 76 | if (key_state == WL_KEYBOARD_KEY_STATE_PRESSED) { |
77 | swaylock_handle_key(state, sym, codepoint); | ||
78 | } | ||
77 | } | 79 | } |
78 | 80 | ||
79 | static void keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, | 81 | static void keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, |