diff options
Diffstat (limited to 'sway/input/keyboard.c')
-rw-r--r-- | sway/input/keyboard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c index ce0df3c5..bb18edd2 100644 --- a/sway/input/keyboard.c +++ b/sway/input/keyboard.c | |||
@@ -91,6 +91,8 @@ void sway_keyboard_configure(struct sway_keyboard *keyboard) { | |||
91 | wlr_keyboard_set_keymap(wlr_device->keyboard, keyboard->keymap); | 91 | wlr_keyboard_set_keymap(wlr_device->keyboard, keyboard->keymap); |
92 | wlr_keyboard_set_repeat_info(wlr_device->keyboard, 25, 600); | 92 | wlr_keyboard_set_repeat_info(wlr_device->keyboard, 25, 600); |
93 | xkb_context_unref(context); | 93 | xkb_context_unref(context); |
94 | struct wlr_seat *seat = keyboard->seat_device->sway_seat->wlr_seat; | ||
95 | wlr_seat_set_keyboard(seat, wlr_device); | ||
94 | 96 | ||
95 | wl_list_remove(&keyboard->keyboard_key.link); | 97 | wl_list_remove(&keyboard->keyboard_key.link); |
96 | wl_signal_add(&wlr_device->keyboard->events.key, &keyboard->keyboard_key); | 98 | wl_signal_add(&wlr_device->keyboard->events.key, &keyboard->keyboard_key); |