From d01db8ad329446e6e4470dc464eb2e1478a545b5 Mon Sep 17 00:00:00 2001 From: Wonkeun Oh Date: Tue, 21 Mar 2017 09:50:49 +0900 Subject: [PATCH] Moved the reshow_input_panel event to the REGISTER_ACTIVATE_HELPER command. Change-Id: I0eb93a359debb95c80e1525e6e7c8e90d934b1aa --- .../ecoresocket/ecore_socket_panel_agent_module.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ism/modules/panelagent/ecoresocket/ecore_socket_panel_agent_module.cpp b/ism/modules/panelagent/ecoresocket/ecore_socket_panel_agent_module.cpp index 1f04315..5d589a6 100644 --- a/ism/modules/panelagent/ecoresocket/ecore_socket_panel_agent_module.cpp +++ b/ism/modules/panelagent/ecoresocket/ecore_socket_panel_agent_module.cpp @@ -2507,6 +2507,12 @@ private: } else { LOGW ("wrong format of transaction\n"); } + + /* Check whether application already requested the focus_in and showing input_panel + * If so, Input FW request focus_in and show input_panel again to helper IME. + * Because Helper IME couldn't receive these events during the launch. + */ + m_info_manager->reshow_input_panel (); } else if (cmd == SCIM_TRANS_CMD_COMMIT_STRING) { uint32 target_ic; String target_uuid; @@ -2646,12 +2652,6 @@ private: m_info_manager->socket_helper_register_properties(client_id, properties); else LOGW ("wrong format of transaction\n"); - - /* Check whether application already requested the focus_in and showing input_panel - * If so, Input FW request focus_in and show input_panel again to helper IME. - * Because Helper IME couldn't receive these events during the launch. - */ - m_info_manager->reshow_input_panel (); } else if (cmd == SCIM_TRANS_CMD_UPDATE_PROPERTY) { Property property; -- 2.7.4