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.
This commit is contained in:
Tudor Brindus 2020-06-17 12:44:16 -04:00 committed by Simon Ser
parent 9e68ed2159
commit c768309ab4

View file

@ -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);
} }
} }