--- rxvt-unicode/src/rxvttoolkit.C 2006/02/18 14:14:43 1.51 +++ rxvt-unicode/src/rxvttoolkit.C 2006/02/19 16:25:13 1.53 @@ -28,11 +28,8 @@ #include #include - -#ifndef NO_SLOW_LINK_SUPPORT -# include -# include -#endif +#include +#include #if XFT # include @@ -465,7 +462,6 @@ int fd = XConnectionNumber (dpy); -#ifndef NO_SLOW_LINK_SUPPORT // try to detect wether we have a local connection. // assume unix domains socket == local, everything else not // TODO: might want to check for inet/127.0.0.1 @@ -475,7 +471,6 @@ if (!getsockname (fd, (sockaddr *)&sa, &sl)) is_local = sa.sun_family == AF_LOCAL; -#endif x_ev.start (fd, EVENT_READ); fcntl (fd, F_SETFD, FD_CLOEXEC); @@ -840,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