fix: correct gb keyboard layout name

This commit is contained in:
DreamMaoMao 2025-10-15 10:39:47 +08:00
parent 5d93f17a90
commit af982c46e1
2 changed files with 4 additions and 2 deletions

View file

@ -5,7 +5,7 @@ typedef struct {
static const LayoutMapping layout_mappings[] = {
{"English (US)", "us"},
{"English (UK)", "uk"},
{"English (UK)", "gb"},
{"Russian", "ru"},
{"German", "de"},
{"French", "fr"},
@ -76,4 +76,4 @@ static const LayoutMapping layout_mappings[] = {
{"Kannada", "kn"},
{"Malayalam", "ml"},
{NULL, NULL} // 结束标记
};
};

View file

@ -907,6 +907,8 @@ cleanup_layouts:
cleanup_context:
xkb_context_unref(context);
printstatus();
return 0;
}