Modified not to be hidden IME immediately when input_panel_hide() is called twice 43/222943/1
authorInHong Han <inhong1.han@samsung.com>
Tue, 21 Jan 2020 10:49:46 +0000 (19:49 +0900)
committerInHong Han <inhong1.han@samsung.com>
Tue, 21 Jan 2020 10:49:46 +0000 (19:49 +0900)
Change-Id: Ib17b9b81d8b0be2a10fe0016e6b9b08df44c6330

ism/extras/wayland_immodule/wayland_imcontext.c

index 574eb86..4942e84 100644 (file)
@@ -1150,8 +1150,6 @@ _input_panel_hide(Ecore_IMF_Context *ctx, Eina_Bool instant)
     if (!ctx) return;
 
     will_hide = EINA_TRUE;
-    _conformant_reset_started = EINA_FALSE;
-
     if (instant || (_hide_timer && ecore_timer_pending_get(_hide_timer) <= 0.0)) {
         _clear_hide_timer();
         _send_input_panel_hide_request(ctx);
@@ -1793,6 +1791,7 @@ show_input_panel(Ecore_IMF_Context *ctx)
         }
     }
 
+    _conformant_reset_started = EINA_FALSE;
     will_hide = EINA_FALSE;
     _show_req_ctx = ctx;
     _input_panel_ctx = ctx;