Codebase list mozc / a716389
Remove patches/bug107_request_surrounding_text.patch Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 11 years ago
1 changed file(s) with 0 addition(s) and 18 deletion(s). Raw diff Collapse all Expand all
+0
-18
debian/patches/bug107_request_surrounding_text.patch less more
0 diff --git a/unix/ibus/mozc_engine.cc b/unix/ibus/mozc_engine.cc
1 index 6d68273..97a4270 100755
2 --- a/unix/ibus/mozc_engine.cc
3 +++ b/unix/ibus/mozc_engine.cc
4 @@ -571,6 +571,13 @@ void MozcEngine::Enable(IBusEngine *engine) {
5 ignore_reset_for_deletion_range_workaround_ = false;
6 #endif // !USE_IBUS_ENGINE_DELETE_SURROUNDING_TEXT
7
8 +#if IBUS_CHECK_VERSION(1, 4, 0)
9 + // Call ibus_engine_get_surrounding_text() to emit "RequireSurroundingText"
10 + // signal. In the following line, the second argument NULL means "only send
11 + // the signal".
12 + ibus_engine_get_surrounding_text(engine, NULL, NULL, NULL);
13 +#endif // IBUS_CHECK_VERSION(1, 4, 0)
14 +
15 // Launch mozc_server
16 client_->EnsureConnection();
17 UpdatePreeditMethod();