static void
_e_text_input_deactivate(E_Text_Input *text_input, E_Input_Method *input_method, Eina_Bool need_focus_in)
{
+ LOGD("text_input : %p\n", text_input);
+
if (text_input == g_text_input)
{
g_text_input = NULL;
input_method = wl_resource_get_user_data(g_input_method->resource);
EINA_SAFETY_ON_NULL_GOTO(input_method, err);
+ LOGD("text_input : %p\n", text_input);
+
old = input_method->input;
if (old == text_input)
return;
if (old)
{
_e_text_input_deactivate(old, input_method, EINA_TRUE);
- if (g_input_panel_state == E_INPUT_PANEL_STATE_DID_SHOW || g_input_panel_state == E_INPUT_PANEL_STATE_WILL_SHOW)
+ if (g_input_panel_state == E_INPUT_PANEL_STATE_DID_SHOW ||
+ g_input_panel_state == E_INPUT_PANEL_STATE_WILL_SHOW)
{
g_old_text_input = old;
}
static void
_e_text_input_cb_input_panel_show(struct wl_client *client, struct wl_resource *resource)
{
- LOGD("");
E_Text_Input *text_input = wl_resource_get_user_data(resource);
E_Input_Method *input_method = NULL;
+ LOGD("text_input : %p\n", text_input);
+
if (!text_input)
{
WTI_WARNING(resource,
E_Text_Input *text_input = wl_resource_get_user_data(resource);
Eina_Bool hide_allowed = EINA_FALSE;
+ LOGD("text_input : %p\n", text_input);
+
if (!g_text_input || (text_input && g_show_text_input == text_input))
hide_allowed = EINA_TRUE;