ecore-evas-wayland: Fix issue with ELM_PROFILE=mobile and windows not
authorChris Michael <cp.michael@samsung.com>
Fri, 5 Dec 2014 17:49:42 +0000 (12:49 -0500)
committerChris Michael <cp.michael@samsung.com>
Fri, 5 Dec 2014 17:52:22 +0000 (12:52 -0500)
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 <cp.michael@samsung.com>
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c

index c8b566bf0868727a23b212e4df4764b067c8328a..e6b78189ad945f50750463d5707c50577e980f05 100644 (file)
@@ -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;
index 09bf26e1285423648bde89ffdd37a7a13225df62..09c56160fc1248e6a25d252b1b670ca80097f379 100644 (file)
@@ -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;