diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2021-01-21 15:15:26 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2021-01-21 15:35:06 +0100 |
commit | d43f95703d3967d6a374967a81a7f022bbbf1698 (patch) | |
tree | d7ba143d9ce61b7c6a409c3790f639cc63af11d3 | |
parent | eb06d9e16514e452e05acbd2173552820075588f (diff) | |
download | mutter-wip/carlosg/keymap-updates.tar.gz |
backends/native: Update keymap state on latched modifier updateswip/carlosg/keymap-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>
-rw-r--r-- | src/backends/native/meta-seat-impl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c index 9e7f99e40..7900f4219 100644 --- a/src/backends/native/meta-seat-impl.c +++ b/src/backends/native/meta-seat-impl.c @@ -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); |