so also check for matching fg colours. This fixes the problem where
selecting newly scrolled-in lines would exhibit wrong colours.
- fix a race resulting in a crash on exiting.
+ - fix a with --disable-xft that caused xfreecolors to be called on
+ colors never allocated, resulting in program aborts.
- fix a bug in xcopyarea pass and _disable_ it, as it seems not to be
working in either rxvt-unicode nor in the original rxvt.
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