From faa867d46acc9fd3780f5eed1838099b24a4bfcf Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Wed, 15 Oct 2025 10:39:47 +0800 Subject: [PATCH] fix: correct gb keyboard layout name --- src/data/static_keymap.h | 4 ++-- src/dispatch/bind_define.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/data/static_keymap.h b/src/data/static_keymap.h index 87db83c..8a0c1f7 100644 --- a/src/data/static_keymap.h +++ b/src/data/static_keymap.h @@ -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} // 结束标记 -}; \ No newline at end of file +}; diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index fec3c11..0978090 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -910,6 +910,8 @@ cleanup_layouts: cleanup_context: xkb_context_unref(context); + + printstatus(); return 0; }