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 <cp.michael@samsung.com>
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