From 006e73ec415aa011d2d6f2b657ff7ba14ac6b2b7 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 14 Jan 2013 09:45:05 +0000 Subject: [PATCH] follow on from last week - ee state not quite being handled right in x11 when being iconified. missed commenting it out. fix and handle initial state too. SVN revision: 82747 --- src/modules/ecore_evas/engines/x/ecore_evas_x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c b/src/modules/ecore_evas/engines/x/ecore_evas_x.c index 56cb3fd..dba60a7 100644 --- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c +++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c @@ -2661,7 +2661,8 @@ _ecore_evas_x_iconified_set(Ecore_Evas *ee, int on) Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data; if (ee->prop.iconified == on) return; - ee->prop.iconified = on; + if (((ee->should_be_visible) && (!ee->visible)) || (!ee->visible)) + ee->prop.iconified = on; _ecore_evas_x_hints_update(ee); if (on) ecore_x_icccm_iconic_request_send(ee->prop.window, edata->win_root); -- 2.7.4