From 24d3bb788572fbeea156aeb45df845e59c052346 Mon Sep 17 00:00:00 2001 From: Inhong Han Date: Wed, 5 Dec 2018 14:24:46 +0900 Subject: [PATCH] Fixed to prevent sending invalid geometry to the app Change-Id: I29150827d0bf5c18ca1de5fc27ba02f9122394d5 --- src/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 23c38f5..1258da4 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -2319,7 +2319,7 @@ _e_text_input_method_context_cb_client_resize(void *data EINA_UNUSED, int type E if (!found) return ECORE_CALLBACK_PASS_ON; if ((ec->w < 1) && (ec->h < 1)) return ECORE_CALLBACK_PASS_ON; - if (g_text_input && g_text_input->resource) + if (g_text_input && g_text_input->resource && g_input_panel_state != E_INPUT_PANEL_STATE_WILL_HIDE && g_input_panel_state != E_INPUT_PANEL_STATE_DID_HIDE) { if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h) && !(w <= 1 || h <= 1)) _e_text_input_send_input_panel_geometry(g_text_input->resource, x, y, w, h); -- 2.7.4