[mutter] backends/native/meta-seat: Sync keyboard LEDs when changing layout



commit 338eea7a372d7a8c725668df1fedabf7bfddc4db
Author: Konstantin Kharlamov <Hi-Angel yandex ru>
Date:   Thu Feb 10 01:23:48 2022 +0300

    backends/native/meta-seat: Sync keyboard LEDs when changing layout
    
    Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/633
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2279>

 src/backends/native/meta-seat-impl.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c
index bf2233aa04..ad67823257 100644
--- a/src/backends/native/meta-seat-impl.c
+++ b/src/backends/native/meta-seat-impl.c
@@ -3412,6 +3412,8 @@ set_keyboard_layout_index (GTask *task)
 
   seat_impl->layout_idx = idx;
 
+  meta_seat_impl_sync_leds_in_impl (seat_impl);
+
   g_rw_lock_writer_unlock (&seat_impl->state_lock);
 
   g_task_return_boolean (task, TRUE);


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