win->display = _ecore_wl_disp;
win->parent = parent;
+ win->configured.x = -99999; /* this is arbitary */
+ win->configured.y = -99999;
win->allocation.x = x;
win->allocation.y = y;
win->allocation.w = w;
if ((win->surface) && (win->tz_position))
{
- tizen_position_set(win->tz_position, win->allocation.x, win->allocation.y);
+ if ((win->configured.x != x) || (win->configured.y != y))
+ tizen_position_set(win->tz_position, win->allocation.x, win->allocation.y);
}
}
if (!(win = data)) return;
+ win->configured.x = x;
+ win->configured.y = y;
+
if ((x != win->allocation.x) || (y != win->allocation.y))
{
ecore_wl_window_update_location(win, x, y);