[mutter/wip/carlosg/keymap-updates] backends/native: Update keymap state on latched modifier updates




commit 7abca2f28aec6238209d01a92b1ffdb87f04cb2c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jan 21 15:15:26 2021 +0100

    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.

 src/backends/native/meta-seat-impl.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c
index 9e7f99e405..7900f42199 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]