forked from enlightenment/efl
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:
parent
e11bb10a4e
commit
26a718b07e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue