From 6834067ef5dba734a0493af4d806ed61705991c1 Mon Sep 17 00:00:00 2001 From: Markus Ongyerth Date: Fri, 5 Jan 2018 22:20:46 +0100 Subject: [PATCH] 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. --- types/wlr_seat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/types/wlr_seat.c b/types/wlr_seat.c index 79638822..fd76775d 100644 --- a/types/wlr_seat.c +++ b/types/wlr_seat.c @@ -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,