Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ewins.c snaps.c Log Message: Fix some snapshot bugs introduced recently (handle empty lines in config, get group info before used). =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ewins.c,v retrieving revision 1.117 retrieving revision 1.118 diff -u -3 -r1.117 -r1.118 --- ewins.c 24 Oct 2005 17:35:09 -0000 1.117 +++ ewins.c 27 Oct 2005 20:38:11 -0000 1.118 @@ -151,16 +151,19 @@ Eprintf("EwinGetHints %#lx\n", _EwinGetClientWin(ewin)); ICCCM_GetTitle(ewin, 0); - ICCCM_GetInfo(ewin, 0); - if (EwinIsInternal(ewin)) - return; - - ICCCM_GetHints(ewin, 0); - ICCCM_GetGeoms(ewin, 0); - MWM_GetHints(ewin, 0); - HintsGetWindowHints(ewin); - SessionGetInfo(ewin, 0); + { + ICCCM_GetInfo(ewin, 0); + } + else + { + ICCCM_GetHints(ewin, 0); + ICCCM_GetGeoms(ewin, 0); + MWM_GetHints(ewin, 0); + ICCCM_GetInfo(ewin, 0); /* NB! Need group info first */ + HintsGetWindowHints(ewin); + SessionGetInfo(ewin, 0); + } } static void =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/snaps.c,v retrieving revision 1.100 retrieving revision 1.101 diff -u -3 -r1.100 -r1.101 --- snaps.c 23 Oct 2005 14:25:03 -0000 1.100 +++ snaps.c 27 Oct 2005 20:38:12 -0000 1.101 @@ -1237,7 +1237,10 @@ { /* nuke \n */ buf[strlen(buf) - 1] = 0; + s[0] = '\0'; word(buf, 1, s); + if (!s[0]) + continue; if (!strcmp(s, "NEW:")) { res_w = VRoot.w; ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs