From 338eea7a372d7a8c725668df1fedabf7bfddc4db Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Thu, 10 Feb 2022 01:23:48 +0300 Subject: [PATCH] backends/native/meta-seat: Sync keyboard LEDs when changing layout Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/633 Part-of: --- 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 bf2233aa0..ad6782325 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);