if ((x != win->set_config.geometry.x) || (y != win->set_config.geometry.y))
{
- win->saved.x = win->set_config.geometry.x;
- win->saved.y = win->set_config.geometry.y;
-
win->set_config.geometry.x = x;
win->set_config.geometry.y = y;
&_tizen_position_listener, window);
if (window->surface)
tizen_position_set(window->tz_position,
- window->saved.x, window->saved.y);
+ window->set_config.geometry.x, window->set_config.geometry.y);
}
if (window->role)
{
EINA_SAFETY_ON_NULL_RETURN(window);
- window->saved.x = x;
- window->saved.y = y;
+ if ((window->set_config.geometry.x != x) ||
+ (window->set_config.geometry.y != y))
+ window->pending.geom = EINA_TRUE;
window->set_config.geometry.x = x;
window->set_config.geometry.y = y;
ecore_wl2_window_sync_geometry_set(Ecore_Wl2_Window *window, uint32_t serial, int x, int y, int w, int h)
{
if (!window) return;
+
+ if ((window->set_config.geometry.x != x) ||
+ (window->set_config.geometry.y != y) ||
+ (window->set_config.geometry.w != w) ||
+ (window->set_config.geometry.h != h))
+ window->pending.geom = EINA_TRUE;
+
+ window->set_config.geometry.x = x;
+ window->set_config.geometry.y = y;
+ window->set_config.geometry.w = w;
+ window->set_config.geometry.h = h;
+
if (window->display->wl.tz_moveresize)
tizen_move_resize_set_geometry(window->display->wl.tz_moveresize, window->surface, serial, x, y, w, h);
}