2023-09-12 10:20:52 +02:00
|
|
|
Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
2019-08-05 11:58:48 +02:00
|
|
|
===================================================================
|
2023-09-12 10:20:52 +02:00
|
|
|
--- a/plugins/keyboard/gsd-keyboard-manager.c
|
|
|
|
+++ b/plugins/keyboard/gsd-keyboard-manager.c
|
|
|
|
@@ -251,7 +251,11 @@ get_sources_from_xkb_config (GsdKeyboard
|
2017-09-09 12:24:21 +02:00
|
|
|
else
|
|
|
|
id = g_strdup (layouts[i]);
|
|
|
|
|
|
|
|
- g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, id);
|
|
|
|
+ if (!g_strcmp0 (id, "jp"))
|
|
|
|
+ g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_IBUS, "mozc-jp");
|
|
|
|
+ else
|
|
|
|
+ g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, id);
|
|
|
|
+
|
|
|
|
g_free (id);
|
|
|
|
}
|
|
|
|
|