diff options
author | Tony Crisci <[email protected]> | 2017-12-18 10:44:51 -0500 |
---|---|---|
committer | Tony Crisci <[email protected]> | 2017-12-18 10:44:51 -0500 |
commit | 4c436a1a6f78ce9eae40791b85c02d44458de727 (patch) | |
tree | 64cb8fed2e33720ac6c1315e3ff8e205c50c1e08 /sway/input/keyboard.c | |
parent | 483ede0146cd5eb5b1a68dc365f99af0c66fd156 (diff) |
remove assumption of one device per identifier
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) { wlr_keyboard_set_keymap(wlr_device->keyboard, keyboard->keymap); wlr_keyboard_set_repeat_info(wlr_device->keyboard, 25, 600); xkb_context_unref(context); + struct wlr_seat *seat = keyboard->seat_device->sway_seat->wlr_seat; + wlr_seat_set_keyboard(seat, wlr_device); wl_list_remove(&keyboard->keyboard_key.link); wl_signal_add(&wlr_device->keyboard->events.key, &keyboard->keyboard_key); |