From: Jihoon Kim Date: Thu, 25 Jan 2024 06:56:05 +0000 (+0900) Subject: Support feature to show IME in case parent window has focus X-Git-Tag: accepted/tizen/unified/20240222.163407~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F304890%2F2;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-wl-textinput.git Support feature to show IME in case parent window has focus Change-Id: I7ac79795a4fe47ef068a7512ed1d1fabcdab3fd8 Signed-off-by: Jihoon Kim --- diff --git a/src/e_mod_input_panel.c b/src/e_mod_input_panel.c index d667313..b35ecc5 100644 --- a/src/e_mod_input_panel.c +++ b/src/e_mod_input_panel.c @@ -270,7 +270,8 @@ _e_input_panel_surface_show(E_Input_Panel_Surface *ips) e_input_panel_wait_update_set(EINA_FALSE); if (ips->ec && ips->ec->parent) { - if (ips->ec->parent == focused_ec) + LOGI("focused_ec:%p, ec->parent:%p, ec->parent->parent: %p\n", focused_ec, ips->ec->parent, ips->ec->parent->parent); + if (ips->ec->parent == focused_ec || ips->ec->parent->parent == focused_ec) { e_policy_conformant_part_update(ips->ec); e_input_panel_visibility_change(EINA_TRUE); diff --git a/src/e_mod_main.c b/src/e_mod_main.c index c58a90c..d655d35 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -1243,7 +1243,6 @@ _e_text_input_cb_activate(struct wl_client *client, struct wl_resource *resource E_Client *ec = NULL; EINA_SAFETY_ON_NULL_GOTO(resource, err); - EINA_SAFETY_ON_NULL_GOTO(seat, err); EINA_SAFETY_ON_NULL_GOTO(g_input_method, err); EINA_SAFETY_ON_NULL_GOTO(g_input_method->resource, err);