input/keyboard: send modifiers on first keyboard enter

Will fix Firefox bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1643991.

Fixes swaywm/sway#5462.
master
Tudor Brindus 5 years ago committed by Simon Ser
parent 9e68ed2159
commit c768309ab4

@ -469,6 +469,9 @@ void seat_client_create_keyboard(struct wlr_seat_client *seat_client,
} }
wl_array_release(&keys); wl_array_release(&keys);
wlr_seat_keyboard_send_modifiers(seat_client->seat,
&keyboard->modifiers);
} }
} }

Loading…
Cancel
Save