With the change to xdg_shell v6, we need to wait for any pending
configure to be handled before we can render. This patch addresses
that issue and makes Elementary_Test work again under Weston :)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
}
if ((!nw) && (!nh)) return ECORE_CALLBACK_RENEW;
+
nw -= fw;
nh -= fh;
surf = ecore_wl2_window_surface_get(wdata->win);
if (!surf) return;
+ if (wdata->win->pending.configure) return;
+
wdata->anim_callback = wl_surface_frame(surf);
wl_callback_add_listener(wdata->anim_callback, &_anim_listener, ee);
ecore_evas_manual_render_set(ee, 1);
if (!(wdata = ee->engine.data)) return 0;
if (!wdata->sync_done) return 0;
+ if (wdata->win->pending.configure) return 0;
+
/* TODO: handle comp no sync */
if (ee->in_async_render) return 0;