Fix issue that afterimage of the candidate window remained 35/272135/1
authorInHong Han <inhong1.han@samsung.com>
Thu, 10 Mar 2022 04:52:17 +0000 (13:52 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 10 Mar 2022 04:54:41 +0000 (04:54 +0000)
Change-Id: I341a317211a9e7bfaa1a4ad97c7731a530ddd329

ism/src/isf_info_manager.cpp

index 5d5fe86..cc40800 100644 (file)
@@ -3302,10 +3302,11 @@ client context helpers: %zu, helpers uuid count: %zu",
 
         if (m_ise_context_buffer != NULL && m_ise_context_length > 0) {
             Ise_Context *iseContext = reinterpret_cast<Ise_Context *>(m_ise_context_buffer);
-            if (iseContext->layout != ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD && !(iseContext->input_hint & ECORE_IMF_INPUT_HINT_SENSITIVE_DATA)) {
-                m_signal_show_lookup_table ();
-            }
+            if (iseContext->layout == ECORE_IMF_INPUT_PANEL_LAYOUT_PASSWORD || iseContext->input_hint & ECORE_IMF_INPUT_HINT_SENSITIVE_DATA)
+                return;
         }
+
+        m_signal_show_lookup_table ();
     }
     //ISM_TRANS_CMD_SHOW_ASSOCIATE_TABLE
     void socket_show_associate_table (void) {