--- rxvt-unicode/src/rxvttoolkit.C 2006/02/18 15:48:23 1.52 +++ rxvt-unicode/src/rxvttoolkit.C 2006/02/19 16:53:49 1.54 @@ -347,7 +347,7 @@ XFree (dpy->xdefaults); #endif - if (XGetWindowProperty (dpy, root, XA_RESOURCE_MANAGER, + if (XGetWindowProperty (dpy, RootWindow(dpy, 0), XA_RESOURCE_MANAGER, 0L, 100000000L, False, XA_STRING, &actual_type, &actual_format, &nitems, &nremaining, @@ -835,6 +835,9 @@ void rxvt_color::free (rxvt_screen *screen) { + if (screen->visual->c_class == TrueColor) + return; // nothing to do + #if XFT XftColorFree (screen->dpy, screen->visual, screen->cmap, &c); #else