{
_e_text_input_cb_input_panel_show(g_client, g_text_input->resource);
int x = 0, y = 0, w = 0, h = 0;
- if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h))
+ 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);
}
}
if (g_text_input && g_text_input->resource)
{
- if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h))
+ 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);
}
if (!g_updated_geometry)
{
int x = 0, y = 0, w = 0, h = 0;
- if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h))
+ if (e_input_panel_client_geometry_get(NULL, &x, &y, &w, &h) && !(w <= 1 || h <= 1))
_e_text_input_send_input_panel_geometry(text_input->resource, x, y, w, h);
g_updated_geometry = EINA_TRUE;
}