forked from enlightenment/efl
evas-wayland-shm: Don't recreate Outbuf if we are hidden
If the hidden flag is set, then we don't need to recreate the Outbuf for a given canvas as the window is hidden and we are not going to render there until it's shown again. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
3302ce5499
commit
5c1d6b1064
|
@ -162,7 +162,7 @@ eng_setup(Evas *eo_evas, void *info)
|
||||||
else
|
else
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
else if (einfo->info.wl_surface)
|
else if ((einfo->info.wl_surface) && (!einfo->info.hidden))
|
||||||
{
|
{
|
||||||
Outbuf *ob;
|
Outbuf *ob;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue