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
This commit is contained in:
Carsten Haitzler 2013-01-14 09:45:05 +00:00
parent 55bc6a16fb
commit 006e73ec41
1 changed files with 2 additions and 1 deletions

View File

@ -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);