Fix issue focus_in() wasn't delivered to IME 32/184932/1
authorInHong Han <inhong1.han@samsung.com>
Tue, 24 Jul 2018 09:26:23 +0000 (18:26 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 24 Jul 2018 09:57:12 +0000 (18:57 +0900)
Change-Id: I7b0451ade52f05f194ffb4261790cd7b4d3fe746

ism/src/isf_info_manager.cpp

index de7d77b..17bb52c 100644 (file)
@@ -2207,8 +2207,6 @@ public:
     }
 
     void reshow_input_panel () {
-        if (!m_reshow_needed) return;
-
         /* Check whether application is already focus_in */
         if (m_current_socket_client != -1) {
             LOGD ("Re-focus in");
@@ -2218,6 +2216,8 @@ public:
             reset_keyboard_ise ();
         }
 
+        if (!m_reshow_needed) return;
+
         /* Check whether ISE panel is already shown */
         if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode && m_ise_context_length > 0) {
             LOGD ("Re-show input_panel");