summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-05 09:21:20 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-05 09:21:20 -0500
commit5c1d6b106419fd4493e3bf1cef793a43a59009e9 (patch)
treef721a56f82739f5178342fa2b6d2024745bde140
parent3302ce54998ab66adeddbe273cf105309061a809 (diff)
downloadefl-5c1d6b106419fd4493e3bf1cef793a43a59009e9.tar.gz
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>
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c b/src/modules/evas/engines/wayland_shm/evas_engine.c
index b00c6148e1..d088818634 100644
--- a/src/modules/evas/engines/wayland_shm/evas_engine.c
+++ b/src/modules/evas/engines/wayland_shm/evas_engine.c
@@ -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;