devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=295bfd7df6498462389fe1c20ac6e0cfcec1944c

commit 295bfd7df6498462389fe1c20ac6e0cfcec1944c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Oct 8 13:37:30 2015 -0400

    ecore-evas-wayland-shm: Check for fullscreen and override windows when
    processing updates
    
    Summary: When processing render updates, we should be checking if the
    Ecore_Evas "should be visible" property is set.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 .../engines/wayland/ecore_evas_wayland_common.c    | 24 ++++++++--------------
 1 file changed, 8 insertions(+), 16 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 3495a22..9b3eccb 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -58,23 +58,15 @@ _ecore_evas_wl_common_render_updates_process(Ecore_Evas 
*ee, Eina_List *updates)
 {
    int rend = 0;
 
-   if ((ee->visible) && (updates))
+   if (((ee->visible) && (ee->draw_ok)) ||
+       ((ee->should_be_visible) && (ee->prop.fullscreen)) ||
+       ((ee->should_be_visible) && (ee->prop.override)))
      {
-        /* Eina_List *l = NULL; */
-        /* Eina_Rectangle *r; */
-        /* Ecore_Evas_Engine_Wl_Data *wdata; */
-
-        /* if (!(wdata = ee->engine.data)) return 0; */
-
-        /* EINA_LIST_FOREACH(updates, l, r) */
-        /*   ecore_wl_window_damage(wdata->win, */
-        /*                          r->x, r->y, r->w, r->h); */
-
-        /* ecore_wl_window_commit(wdata->win); */
-        /* ecore_wl_flush(); */
-
-        _ecore_evas_idle_timeout_update(ee);
-        rend = 1;
+        if (updates)
+          {
+             _ecore_evas_idle_timeout_update(ee);
+             rend = 1;
+          }
      }
    else
      evas_norender(ee->evas);

-- 


Reply via email to