]> git.mdlowis.com Git - proto/labwc.git/commitdiff
keyboard: fix shifted keystroke delay
authorJohan Malm <jgm323@gmail.com>
Sat, 11 Nov 2023 22:04:14 +0000 (22:04 +0000)
committerJohn Lindgren <john@jlindgren.net>
Sun, 12 Nov 2023 01:20:29 +0000 (20:20 -0500)
Remove wlr_seat_set_keyboard() from `keyboard_modifiers_notify()`
but leave it in `keyboard_key_notify()`

Fixes regression introduced in 984aeb0

Reported-by: @jlindgren90
Fixes: #1238
src/input/keyboard.c

index b70ecf13f6f78d19431b6bb6443e8fcc3d1943ba..69e5fa4a0e6cc0ca03fb8e75ee6d69fbe5ef0d86 100644 (file)
@@ -84,7 +84,6 @@ keyboard_modifiers_notify(struct wl_listener *listener, void *data)
                        }
                }
        }
-       wlr_seat_set_keyboard(seat->seat, wlr_keyboard);
        wlr_seat_keyboard_notify_modifiers(seat->seat, &wlr_keyboard->modifiers);
 }