wayland_shm: Use surface flush instead of setting dirty

The dirty bit was a dirty hack to let session recovery force reconfigures
on startup.

Now that we have a surface flush we can achieve the same thing by just
discarding all buffers immediately.
This commit is contained in:
Derek Foreman 2018-01-26 10:28:24 -06:00
parent e11bb10a4e
commit 26a718b07e
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ eng_output_update(void *engine, void *data, void *info, unsigned int w, unsigned
if (ob->ewd != ewd)
{
if (ewd)
ob->dirty = EINA_TRUE;
ecore_wl2_surface_flush(ob->surface);
re->generic.ob->ewd = ewd;
}