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
|
@ -794,6 +794,7 @@ void wlr_seat_set_keyboard(struct wlr_seat *seat,
|
|||
}
|
||||
|
||||
seat->keyboard_state.keyboard = keyboard;
|
||||
wlr_seat_keyboard_send_modifiers(seat);
|
||||
}
|
||||
|
||||
void wlr_seat_keyboard_start_grab(struct wlr_seat *wlr_seat,
|
||||
|
|
Loading…
Reference in New Issue