Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: session.c Log Message: Fix crash during X error handling. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/session.c,v retrieving revision 1.97 retrieving revision 1.98 diff -u -3 -r1.97 -r1.98 --- session.c 23 Apr 2005 13:35:37 -0000 1.97 +++ session.c 29 Apr 2005 16:33:35 -0000 1.98 @@ -829,19 +829,21 @@ if (!params) SessionSave(1); Real_SaveSnapInfo(0, NULL); - EHintsSetInfoOnAll(); - EwinsSetFree(); - ModulesSignal(ESIGNAL_EXIT, NULL); - if (Mode.wm.startup && Mode.wm.exiting) - MapUnmap(1); if (disp) { + /* We may get here from HandleXIOError */ + EHintsSetInfoOnAll(); + EwinsSetFree(); + if (Mode.wm.startup && Mode.wm.exiting) + MapUnmap(1); XSelectInput(disp, VRoot.win, 0); ExtInitWinKill(); XSync(disp, False); } + ModulesSignal(ESIGNAL_EXIT, NULL); + ss = NULL; switch (mode) { ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs