if (window->commit_pending)
ERR("Commit before previous commit processed");
- window->commit_pending = EINA_TRUE;
- window->callback = wl_surface_frame(window->surface);
- wl_callback_add_listener(window->callback, &_frame_listener, window);
-
+ if (!window->pending.configure)
+ {
+ window->commit_pending = EINA_TRUE;
+ window->callback = wl_surface_frame(window->surface);
+ wl_callback_add_listener(window->callback, &_frame_listener, window);
+ }
if (flush)
{
wl_surface_commit(window->surface);