summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2013-01-14 09:45:05 +0000
committerCarsten Haitzler <raster@rasterman.com>2013-01-14 09:45:05 +0000
commit006e73ec415aa011d2d6f2b657ff7ba14ac6b2b7 (patch)
treefb3cdb5147ee13a9d89047b06322849e22ad204f
parent55bc6a16fb85a597a785bd08df3af3085cf0eb54 (diff)
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
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c3
1 files changed, 2 insertions, 1 deletions
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 56cb3fd9a8..dba60a7460 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)
2661 Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data; 2661 Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
2662 2662
2663 if (ee->prop.iconified == on) return; 2663 if (ee->prop.iconified == on) return;
2664 ee->prop.iconified = on; 2664 if (((ee->should_be_visible) && (!ee->visible)) || (!ee->visible))
2665 ee->prop.iconified = on;
2665 _ecore_evas_x_hints_update(ee); 2666 _ecore_evas_x_hints_update(ee);
2666 if (on) 2667 if (on)
2667 ecore_x_icccm_iconic_request_send(ee->prop.window, edata->win_root); 2668 ecore_x_icccm_iconic_request_send(ee->prop.window, edata->win_root);