Created
April 5, 2018 07:47
-
-
Save ivan/457b1ffef9425fe4c4d740a832c356a1 to your computer and use it in GitHub Desktop.
Fix mozc to use Hiragana input by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 2777305b6b2cf2302c1e91592a7afd2f743b021e Mon Sep 17 00:00:00 2001 | |
From: Ivan Kozik <ivan@ludios.org> | |
Date: Sat, 3 Mar 2018 11:30:13 +0000 | |
Subject: [PATCH] Activate IME to use Hiragana input by default | |
--- | |
src/unix/ibus/property_handler.cc | 10 ++-------- | |
1 file changed, 2 insertions(+), 8 deletions(-) | |
diff --git a/src/unix/ibus/property_handler.cc b/src/unix/ibus/property_handler.cc | |
index cd2c77cd..4838773c 100644 | |
--- a/src/unix/ibus/property_handler.cc | |
+++ b/src/unix/ibus/property_handler.cc | |
@@ -75,15 +75,9 @@ bool GetDisabled(IBusEngine *engine) { | |
return disabled; | |
} | |
-// Some users expect that Mozc is turned off by default on IBus 1.5.0 and later. | |
-// https://github.com/google/mozc/issues/201 | |
-// On IBus 1.4.x, IBus expects that an IME should always be turned on and | |
-// IME on/off keys are handled by IBus itself rather than each IME. | |
-#if IBUS_CHECK_VERSION(1, 5, 0) | |
-const bool kActivatedOnLaunch = false; | |
-#else | |
+// Always activate IME to use Hiragana mode by default: | |
+// https://github.com/google/mozc/issues/381#issuecomment-242965044 | |
const bool kActivatedOnLaunch = true; | |
-#endif // IBus>=1.5.0 | |
} // namespace | |
-- | |
2.11.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment