mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
sends the modifiers on wlr_seat_set_keyboard
Without this, a client will lose modifiers for one keyboard, when a key is pressed on the other. With this the client will always use the modifiers tate of the keyboard the key was pressed on.
This commit is contained in:
parent
c8b9c0ad0e
commit
6834067ef5
1 changed files with 1 additions and 0 deletions
|
@ -794,6 +794,7 @@ void wlr_seat_set_keyboard(struct wlr_seat *seat,
|
||||||
}
|
}
|
||||||
|
|
||||||
seat->keyboard_state.keyboard = keyboard;
|
seat->keyboard_state.keyboard = keyboard;
|
||||||
|
wlr_seat_keyboard_send_modifiers(seat);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wlr_seat_keyboard_start_grab(struct wlr_seat *wlr_seat,
|
void wlr_seat_keyboard_start_grab(struct wlr_seat *wlr_seat,
|
||||||
|
|
Loading…
Reference in a new issue