Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: backgrounds.c conf.h config.c hints.c ipc.c Log Message: Fix _XROOT... hack. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/backgrounds.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- backgrounds.c 8 Aug 2004 21:32:19 -0000 1.6 +++ backgrounds.c 11 Oct 2004 20:28:55 -0000 1.7 @@ -660,7 +660,8 @@ /* Unviewable desktop - update the virtual root hints */ win = desks.desk[j].win; - HintsSetRootInfo(win, 0, 0); + if (!Conf.hints.set_xroot_info_on_root_window) + HintsSetRootInfo(win, 0, 0); XSetWindowBackground(disp, win, 0); XClearWindow(disp, win); } =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/conf.h,v retrieving revision 1.36 retrieving revision 1.37 diff -u -3 -r1.36 -r1.37 --- conf.h 30 Sep 2004 22:42:46 -0000 1.36 +++ conf.h 11 Oct 2004 20:28:55 -0000 1.37 @@ -157,6 +157,7 @@ #define CONTROL_ST_WARPLIST 1384 #define CONTROL_MENU_NAVIGATION_KEYS 1390 +#define CONTROL_HINTS_XROOT_HACK 1391 #define ICLASS_NAME 350 #define ICLASS_NORMAL 351 =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/config.c,v retrieving revision 1.115 retrieving revision 1.116 diff -u -3 -r1.115 -r1.116 --- config.c 30 Sep 2004 22:42:46 -0000 1.115 +++ config.c 11 Oct 2004 20:28:55 -0000 1.116 @@ -1012,6 +1012,10 @@ break; } break; + case CONTROL_HINTS_XROOT_HACK: + Conf.hints.set_xroot_info_on_root_window = i2; + break; + default: RecoverUserConfig(); Alert(_("Warning: unable to determine what to do with\n" @@ -3958,6 +3962,8 @@ XKeysymToString(Conf.menukeys.escape)); fprintf(autosavefile, "1390 5 %s\n", XKeysymToString(Conf.menukeys.ret)); + fprintf(autosavefile, "1391 %i\n", + Conf.hints.set_xroot_info_on_root_window); #ifdef HAS_XINERAMA fprintf(autosavefile, "2013 %i\n", (int)Conf.extra_head); #endif =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/hints.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- hints.c 20 Aug 2004 21:13:56 -0000 1.26 +++ hints.c 11 Oct 2004 20:28:56 -0000 1.27 @@ -53,8 +53,6 @@ XChangeProperty(disp, VRoot.win, atom, XA_STRING, 8, PropModeReplace, (unsigned char *)e_wm_version, strlen(e_wm_version)); - Conf.hints.set_xroot_info_on_root_window = 0; - EDBUG_RETURN_; } =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ipc.c,v retrieving revision 1.182 retrieving revision 1.183 diff -u -3 -r1.182 -r1.183 --- ipc.c 2 Sep 2004 17:55:31 -0000 1.182 +++ ipc.c 11 Oct 2004 20:28:56 -0000 1.183 @@ -4418,6 +4418,7 @@ Conf.hints.set_xroot_info_on_root_window = 0; else if (!strncmp(param2, "root", 4)) Conf.hints.set_xroot_info_on_root_window = 1; + autosave(); } Esnprintf(buf, sizeof(buf), "Set _XROOT* hints: %s", ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs