Merge pull request #416 from acrisci/bug/set-keyboard-on-add

rootston: set keyboard for seat on keyboard add
This commit is contained in:
Drew DeVault 2017-11-12 13:47:55 -05:00 committed by GitHub
commit 51ef12f128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {