Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: events.c Log Message: Move exit check to better location. =================================================================== RCS file: /cvs/e/e16/e/src/events.c,v retrieving revision 1.136 retrieving revision 1.137 diff -u -3 -r1.136 -r1.137 --- events.c 25 Feb 2007 02:27:41 -0000 1.136 +++ events.c 9 Jun 2007 14:24:03 -0000 1.137 @@ -637,7 +637,7 @@ time1 = GetTime(); - for (; !Mode.wm.exit_mode;) + for (;;) { pfetch = 0; count = EventsProcess(&evq_ptr, &evq_alloc, &pfetch); @@ -670,6 +670,9 @@ time2 = TimersRun(time2); if (XPending(disp)) continue; + + if (Mode.wm.exit_mode) + break; FD_ZERO(&fdset); xfd = ConnectionNumber(disp); ------------------------------------------------------------------------- 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