mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
backends/native: Update keymap state on latched modifier updates
The input thread refactors missed to update the MetaKeymapNative state when the keys that trigger the latched modifiers are being pressed. Let that happen here. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1679>
This commit is contained in:
parent
eb06d9e165
commit
d43f95703d
@ -424,6 +424,7 @@ meta_seat_impl_notify_key_in_impl (MetaSeatImpl *seat_impl,
|
||||
MetaInputDeviceNative *keyboard_native;
|
||||
gboolean numlock_active;
|
||||
|
||||
meta_keymap_native_update_in_impl (seat_impl->keymap, seat_impl->xkb);
|
||||
emit_signal (seat_impl, signals[MODS_STATE_CHANGED], NULL, 0);
|
||||
meta_seat_impl_sync_leds_in_impl (seat_impl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user