devilhorns pushed a commit to branch master.

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

commit f224fb24e27795d238c5fcc5d63d372ae3e56959
Author: Chris Michael <[email protected]>
Date:   Sat Aug 23 09:00:04 2014 -0400

    ecore-evas-wayland: Add support for minimizing xdg_shell surfaces
    
    xdg_shell protocol supports minimizing surfaces. When elm apps request
    iconification, they will call ecore_evas_iconified_set which in turn
    will make use of the newly added ecore_wl_window_iconified_set function.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 0c0ce81..568a02c 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
@@ -1239,12 +1239,15 @@ _ecore_evas_wl_common_layer_set(Ecore_Evas *ee, int 
layer)
 void
 _ecore_evas_wl_common_iconified_set(Ecore_Evas *ee, Eina_Bool on)
 {
+   Ecore_Evas_Engine_Wl_Data *wdata;
+
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
 
    if (!ee) return;
-   if (ee->prop.iconified == on) return;
    ee->prop.iconified = on;
-   /* FIXME: Implement this in Wayland someshow */
+
+   wdata = ee->engine.data;
+   ecore_wl_window_iconified_set(wdata->win, on);
 }
 
 static void

-- 


Reply via email to