diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-12 13:47:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-12 13:47:55 -0500 |
commit | 51ef12f1280baff16129b4030a06ac267b385ca5 (patch) | |
tree | d1e040e1e53ad6803e9413266218e46aaf838d22 | |
parent | 38e14de240678928a587ca75bc6c4662cf21ab61 (diff) | |
parent | a69381ef0ccb15de4cddad317ecf5fdb639ef313 (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.c | 2 |
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) { |