mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-02 03:45:58 +01:00
rootston: set keyboard on keyboard add
This commit is contained in:
parent
c1eff3d3af
commit
a69381ef0c
1 changed files with 2 additions and 0 deletions
|
@ -322,6 +322,8 @@ static void seat_add_keyboard(struct roots_seat *seat, struct wlr_input_device *
|
||||||
keyboard->keyboard_modifiers.notify = handle_keyboard_modifiers;
|
keyboard->keyboard_modifiers.notify = handle_keyboard_modifiers;
|
||||||
wl_signal_add(&keyboard->device->keyboard->events.modifiers,
|
wl_signal_add(&keyboard->device->keyboard->events.modifiers,
|
||||||
&keyboard->keyboard_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) {
|
static void seat_add_pointer(struct roots_seat *seat, struct wlr_input_device *device) {
|
||||||
|
|
Loading…
Reference in a new issue