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:
Chris Michael 2016-12-05 09:21:20 -05:00
parent 3302ce5499
commit 5c1d6b1064
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ eng_setup(Evas *eo_evas, void *info)
else
goto err;
}
else if (einfo->info.wl_surface)
else if ((einfo->info.wl_surface) && (!einfo->info.hidden))
{
Outbuf *ob;