}
else
{
- ecore_x_window_move(ee->prop.window, x, y);
+ if ((ee->x != x) || (ee->y != y))
+ {
+ if (!ee->engine.x.managed)
+ {
+ ee->x = x;
+ ee->y = y;
+ }
+ ecore_x_window_move(ee->prop.window, x, y);
+ }
if (!ee->should_be_visible)
{
/* We need to request pos */
ee->prop.request_pos = 1;
_ecore_evas_x_size_pos_hints_update(ee);
}
- if (!ee->engine.x.managed)
- {
- ee->x = x;
- ee->y = y;
- }
}
}
if (ee->func.fn_resize) ee->func.fn_resize(ee);
}
}
- else
+ else if ((ee->w != w) || (ee->h != h))
ecore_x_window_resize(ee->prop.window, w, h);
}