mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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>
This commit is contained in:
parent
5fa12a9c8e
commit
338eea7a37
@ -3412,6 +3412,8 @@ set_keyboard_layout_index (GTask *task)
|
|||||||
|
|
||||||
seat_impl->layout_idx = idx;
|
seat_impl->layout_idx = idx;
|
||||||
|
|
||||||
|
meta_seat_impl_sync_leds_in_impl (seat_impl);
|
||||||
|
|
||||||
g_rw_lock_writer_unlock (&seat_impl->state_lock);
|
g_rw_lock_writer_unlock (&seat_impl->state_lock);
|
||||||
|
|
||||||
g_task_return_boolean (task, TRUE);
|
g_task_return_boolean (task, TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user