devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5c1d6b106419fd4493e3bf1cef793a43a59009e9

commit 5c1d6b106419fd4493e3bf1cef793a43a59009e9
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Dec 5 09:21:20 2016 -0500

    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.mich...@samsung.com>
---
 src/modules/evas/engines/wayland_shm/evas_engine.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/evas/engines/wayland_shm/evas_engine.c 
b/src/modules/evas/engines/wayland_shm/evas_engine.c
index b00c614..d088818 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;
 

-- 


Reply via email to