if (!(ec = ips->ec)) return;
+ if (e_object_is_del(E_OBJECT(ec))) return;
+
if ((ips->showing) && (e_pixmap_usable_get(ec->pixmap)))
{
_e_input_panel_position_set(ec, ec->client.w, ec->client.h);
return;
}
+ if (e_object_is_del(E_OBJECT(ec))) return;
+
if (ec->comp_data->mapped)
{
ec->visible = EINA_FALSE;
if (!(ec = ips->ec)) continue;
if (!(cdata = ec->comp_data)) continue;
- wl_resource_destroy(cdata->shell.surface);
+ cdata->shell.surface = NULL;
}
E_FREE_FUNC(input_panel->surfaces, eina_list_free);
}
input_method->model = NULL;
+ if (input_method->context) input_method->context->model = NULL;
input_method->context = NULL;
text_input->input_methods = eina_list_remove(text_input->input_methods, input_method);