KeyboardManager: Set keyboard layout on startup (#1626)

This commit is contained in:
Leo 2023-04-06 20:11:16 +09:00 committed by GitHub
parent 8a57a860f6
commit 9bf04d24f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,8 @@ public class Gala.KeyboardManager : Object {
construct { construct {
settings.changed.connect (set_keyboard_layout); settings.changed.connect (set_keyboard_layout);
set_keyboard_layout (settings, "sources"); // Update layouts set_keyboard_layout (settings, "sources"); // Update the list of layouts
set_keyboard_layout (settings, "current"); // Set current layout
} }
private KeyboardManager (Meta.Display display) { private KeyboardManager (Meta.Display display) {