[mutter] backends/native/meta-seat: Sync keyboard LEDs when changing layout
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends/native/meta-seat: Sync keyboard LEDs when changing layout
- Date: Thu, 10 Feb 2022 14:05:32 +0000 (UTC)
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]