Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
ewins.c
Log Message:
Fix focus on window unmap.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewins.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ewins.c 6 Mar 2005 11:40:55 -0000 1.27
+++ ewins.c 6 Mar 2005 12:58:25 -0000 1.28
@@ -1074,6 +1074,12 @@
if (ewin->state == EWIN_STATE_WITHDRAWN)
return;
+ if (ewin->iconified)
+ ewin->state = EWIN_STATE_ICONIC;
+ else
+ ewin->state = EWIN_STATE_WITHDRAWN;
+ ewin->shown = 0;
+
ActionsEnd(ewin);
if (ewin == GetContextEwin())
@@ -1093,7 +1099,6 @@
Mode.doingslide = 0;
}
- ewin->shown = 0;
/* FIXME - This is to sync the client.win EXID mapped state */
EUnmapWindow(ewin->client.win);
EUnmapWindow(EoGetWin(ewin));
@@ -1101,12 +1106,7 @@
ModulesSignal(ESIGNAL_EWIN_UNMAP, ewin);
if (ewin->iconified)
- {
- ewin->state = EWIN_STATE_ICONIC;
- return;
- }
-
- ewin->state = EWIN_STATE_WITHDRAWN;
+ return;
if (ewin->Close)
ewin->Close(ewin);
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs