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:
Markus Ongyerth 2018-01-05 22:20:46 +01:00
parent c8b9c0ad0e
commit 6834067ef5
1 changed files with 1 additions and 0 deletions

View File

@ -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,