aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-12 13:47:55 -0500
committerGitHub <noreply@github.com>2017-11-12 13:47:55 -0500
commit51ef12f1280baff16129b4030a06ac267b385ca5 (patch)
treed1e040e1e53ad6803e9413266218e46aaf838d22
parent38e14de240678928a587ca75bc6c4662cf21ab61 (diff)
parenta69381ef0ccb15de4cddad317ecf5fdb639ef313 (diff)
Merge pull request #416 from acrisci/bug/set-keyboard-on-add
rootston: set keyboard for seat 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 b0688156..1e4d2a23 100644
--- a/rootston/seat.c
+++ b/rootston/seat.c
@@ -320,6 +320,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) {