aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-11-12 12:15:39 -0500
committerTony Crisci <tony@dubstepdish.com>2017-11-12 12:15:39 -0500
commita69381ef0ccb15de4cddad317ecf5fdb639ef313 (patch)
tree673255c39d273d354f464c42c87a7e828bbd244c
parentc1eff3d3afc237aa4a988a01c88c492a4787d954 (diff)
rootston: set keyboard on keyboard add
-rw-r--r--rootston/seat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rootston/seat.c b/rootston/seat.c
index 4602aad5..9eb91a7e 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -322,6 +322,8 @@ static void seat_add_keyboard(struct roots_seat *seat, struct wlr_input_device *
keyboard->keyboard_modifiers.notify = handle_keyboard_modifiers;
wl_signal_add(&keyboard->device->keyboard->events.modifiers,
&keyboard->keyboard_modifiers);
+
+ wlr_seat_set_keyboard(seat->seat, device);
}
static void seat_add_pointer(struct roots_seat *seat, struct wlr_input_device *device) {