Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ewins.c 


Log Message:
Simplify initial window management at startup (fix initially iconified).

===================================================================
RCS file: /cvs/e/e16/e/src/ewins.c,v
retrieving revision 1.204
retrieving revision 1.205
diff -u -3 -r1.204 -r1.205
--- ewins.c     11 Jul 2007 09:14:12 -0000      1.204
+++ ewins.c     11 Jul 2007 09:16:46 -0000      1.205
@@ -1205,10 +1205,10 @@
    if (ewin->state.state == EWIN_STATE_WITHDRAWN)
       return;
 
-   if (ewin->state.state == EWIN_STATE_ICONIC || !ewin->state.iconified)
-      ewin->state.state = EWIN_STATE_WITHDRAWN;
-   else
+   if (ewin->state.iconified)
       ewin->state.state = EWIN_STATE_ICONIC;
+   else
+      ewin->state.state = EWIN_STATE_WITHDRAWN;
 
    EwinUnmap1(ewin);
    EWindowSetMapped(EwinGetClientWin(ewin), 0);



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to