From: Jihoon Kim Date: Thu, 28 Nov 2024 05:55:18 +0000 (+0900) Subject: Fix issue to hide IME multiple times when pressing key multiple times on HW keyboard X-Git-Tag: accepted/tizen/9.0/unified/20241202.173957~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abb6ac1d6b23d4a1cd4c6a4fe380ab43d93ea9ed;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git Fix issue to hide IME multiple times when pressing key multiple times on HW keyboard Change-Id: If46f22856d4d71d5a4ba67e5dcbf36737cbc92e4 Signed-off-by: Jihoon Kim --- diff --git a/src/e_mod_main.c b/src/e_mod_main.c index cecc36a..6fdb626 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -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; }