From 26c7f00d4740aeb122b9bc78618e392c2219d09a Mon Sep 17 00:00:00 2001 From: Haifeng Deng Date: Thu, 8 Oct 2015 14:09:57 +0800 Subject: [PATCH] Check isf-panel-efl when focus_in and input_panel_show are called This is necessary to relaunch the keyboard when isf-panel-efl is terminated abnormally. http://165.213.149.170/gerrit/#/c/90682/ is also required not to relaunch the keyboard multiple times. Change-Id: Icb6e1fdd1b174e7de97bf1a13a2fc5c0772160a2 Signed-off-by: Haifeng Deng --- ism/extras/efl_immodule/isf_imf_context.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ism/extras/efl_immodule/isf_imf_context.cpp b/ism/extras/efl_immodule/isf_imf_context.cpp index 2761a88..ae17c13 100644 --- a/ism/extras/efl_immodule/isf_imf_context.cpp +++ b/ism/extras/efl_immodule/isf_imf_context.cpp @@ -1143,6 +1143,10 @@ scim_initialize (void) scim_split_string_list (ignore_keys, _config->read (String (SCIM_CONFIG_HOTKEYS_FRONTEND_IGNORE_KEY), String ("")), ','); } + + if (!_panel_client.is_connected ()) { + panel_initialize (); + } } static void -- 2.7.4