devilhorns pushed a commit to branch efl-1.12.

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

commit fc11f421d91af9d36e0a4488e5055735fe57d75a
Author: Chris Michael <[email protected]>
Date:   Fri Dec 5 12:49:42 2014 -0500

    ecore-evas-wayland: Fix issue with ELM_PROFILE=mobile and windows not
    showing up correctly.
    
    Summary: If elm config profile is set to Mobile, then the
    auto_norender_withdrawn is set to 1, which was causing Elm windows to
    not draw properly due to the ee->withdrawn property not being updated.
    It was not getting updated due to these checks for override.
    
    NB: Tested this with all elm profiles, tested in weston, and tested in
    Enlightenment (Wayland).
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c | 7 ++-----
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c | 7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
index c8b566b..e6b7818 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
@@ -331,11 +331,8 @@ _ecore_evas_wl_show(Ecore_Evas *ee)
         evas_object_resize(wdata->frame, ee->w + fw, ee->h + fh);
      }
 
-   if (ee->prop.override)
-     {
-        ee->prop.withdrawn = EINA_FALSE;
-        if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
-     }
+   ee->prop.withdrawn = EINA_FALSE;
+   if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
 
    if (ee->visible) return;
    ee->visible = 1;
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
index 09bf26e..09c5616 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
@@ -323,11 +323,8 @@ _ecore_evas_wl_show(Ecore_Evas *ee)
         evas_object_resize(wdata->frame, ee->w + fw, ee->h + fh);
      }
 
-   if (ee->prop.override)
-     {
-        ee->prop.withdrawn = EINA_FALSE;
-        if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
-     }
+   ee->prop.withdrawn = EINA_FALSE;
+   if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
 
    if (ee->visible) return;
    ee->visible = 1;

-- 


Reply via email to