Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Activate mozc on launch even for IBus>=1.5.0
Because I want hiragana mode on launch. google/mozc#381
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From: Hiroaki Nakamura <hnakamur@gmail.com> | ||
Date: Fri, 23 Mar 2018 12:05:00 +0900 | ||
Subject: Activate on launch for IBus>=1.5.0 too | ||
|
||
https://github.com/google/mozc/issues/381 | ||
--- | ||
src/unix/ibus/property_handler.cc | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/unix/ibus/property_handler.cc b/src/unix/ibus/property_handler.cc | ||
index cd2c77c..f066453 100644 | ||
--- a/src/unix/ibus/property_handler.cc | ||
+++ b/src/unix/ibus/property_handler.cc | ||
@@ -80,7 +80,7 @@ bool GetDisabled(IBusEngine *engine) { | ||
// 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; | ||
+const bool kActivatedOnLaunch = true; | ||
#else | ||
const bool kActivatedOnLaunch = true; | ||
#endif // IBus>=1.5.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ uim-mozc.patch | |
fcitx-mozc.patch | ||
gcc.patch | ||
usage_dict.txt.patch | ||
activate-on-launch.patch |