Add patch of bug 207
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Nobuhiro Iwamatsu
12 years ago
0 | Description: Initial reconversion after turning IBus on doesn't start | |
1 | Forwarded: not-needed | |
2 | Origin: vendor, http://code.google.com/p/mozc/issues/detail?id=107 | |
3 | Bug-Debian: none | |
4 | Author: Irie | |
5 | ||
6 | Index: src/unix/ibus/mozc_engine.cc | |
7 | =================================================================== | |
8 | --- src/unix/ibus/mozc_engine.cc (revision 81) | |
9 | +++ src/unix/ibus/mozc_engine.cc (working copy) | |
10 | @@ -473,6 +473,13 @@ | |
11 | // Stop ignoring "reset" signal. See ProcessKeyevent(). | |
12 | ignore_reset_for_deletion_range_workaround_ = false; | |
13 | ||
14 | +#if IBUS_CHECK_VERSION(1, 4, 0) | |
15 | + // Call ibus_engine_get_surrounding_text() to emit "RequireSurroundingText" | |
16 | + // signal. In the following line, the second argument NULL means "only send | |
17 | + // the signal". | |
18 | + ibus_engine_get_surrounding_text(engine, NULL, NULL, NULL); | |
19 | +#endif // IBUS_CHECK_VERSION(1, 4, 0) | |
20 | + | |
21 | // Launch mozc_server | |
22 | client_->EnsureConnection(); | |
23 | UpdatePreeditMethod(); |