If the application deletes other imcontext immediately after the input_panel_show
request, the IME will not be shown by input_panel_hide event. So modified to compare
focused_context with deleted_context.
Change-Id: I19bd19e22bb4e571b928229603c2df2aea564356
static void
_e_text_input_cb_input_panel_hide(struct wl_client *client, struct wl_resource *resource)
{
- _input_panel_hide(client, resource, EINA_FALSE);
+ E_Text_Input *text_input = wl_resource_get_user_data(resource);
+
+ if (!g_text_input || (text_input && g_text_input == text_input))
+ _input_panel_hide(client, resource, EINA_FALSE);
}
static void