Fix issue to hide IME multiple times when pressing key multiple times on HW keyboard 40/321140/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 28 Nov 2024 05:55:18 +0000 (14:55 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 28 Nov 2024 05:55:18 +0000 (14:55 +0900)
Change-Id: If46f22856d4d71d5a4ba67e5dcbf36737cbc92e4
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/e_mod_main.c

index cecc36ac6eab3986e6e80dae5f25b25931c9022f..6fdb6265115f3edddd0969b08ea32ee700b18772 100644 (file)
@@ -1034,8 +1034,6 @@ _input_panel_hide_async_cb(void *data)
 {
    if (g_text_input && g_text_input->resource && g_client)
      _input_panel_hide(g_client, g_text_input->resource, EINA_FALSE);
-
-   g_disable_show_panel = EINA_TRUE;
 }
 
 static Eina_Bool
@@ -1090,6 +1088,8 @@ _e_mod_ecore_key_down_cb(void *data, int type, void *event)
 
    ecore_main_loop_thread_safe_call_async(_input_panel_hide_async_cb, NULL);
 
+   g_disable_show_panel = EINA_TRUE;
+
    return ECORE_CALLBACK_PASS_ON;
 }