Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ewin-ops.c Log Message: Don't show icons for iconified window transients in iconbox after restart. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v retrieving revision 1.15 retrieving revision 1.16 diff -u -3 -r1.15 -r1.16 --- ewin-ops.c 27 Feb 2005 01:11:51 -0000 1.15 +++ ewin-ops.c 13 Mar 2005 15:20:02 -0000 1.16 @@ -409,7 +409,8 @@ was_shaded = ewin->shaded; - ModulesSignal(ESIGNAL_EWIN_ICONIFY, ewin); + if (!ewin->client.transient) + ModulesSignal(ESIGNAL_EWIN_ICONIFY, ewin); HideEwin(ewin); @@ -419,6 +420,13 @@ if (was_shaded != ewin->shaded) EwinInstantShade(ewin, 0); + if (ewin->client.transient) + { + /* We should only get here during restart */ + ewin->iconified = 4; + goto done; + } + ewin->iconified = 3; ICCCM_Iconify(ewin); @@ -442,6 +450,7 @@ HintsSetWindowState(ewin); + done: call_depth--; } ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs