if (ec->vkbd.floating)
{
- if (g_floating_info && g_floating_info->resizing)
- return;
-
int sx, sy;
if ((is_portrait && !g_floating_info->init_portrait_position) || (!is_portrait && !g_floating_info->init_landscape_position))
_e_input_panel_init_floating_position(ec);
_e_input_panel_convert_floating_position(ec, sx, sy, &nx, &ny, E_INPUT_PANEL_COORDINATE_TYPE_LOGICAL);
- if (g_floating_info->new_width > 0 && g_floating_info->new_height > 0)
+ if (g_floating_info->resizing && g_floating_info->new_width > 0 && g_floating_info->new_height > 0)
{
LOGI("x : %d, y : %d, w : %d, h : %d", nx, ny, g_floating_info->new_width, g_floating_info->new_height);
- g_floating_info->resizing = EINA_TRUE;
e_client_util_move_resize_without_frame(ec, nx, ny, g_floating_info->new_width, g_floating_info->new_height);
- g_floating_info->resizing = EINA_FALSE;
g_floating_info->new_width = -1;
g_floating_info->new_height = -1;
return;
if (e_object_is_del(E_OBJECT(ec)))
return;
+ g_floating_info->resizing = EINA_TRUE;
+
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
LOGI("current angle : %d, w: %d, h: %d", ec->e.state.rot.ang.curr, w, h);
_e_input_panel_position_set(ec, w, h);
+ g_floating_info->resizing = EINA_FALSE;
+
ips = _e_input_panel_surface_get(ec);
if (!ips) return;
if (!ips->resizing) return;