From: root Date: Sun, 19 Feb 2006 16:25:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=5f85021b5e8878c1b3de367bc189ecd4879e34a9;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/Changes b/Changes index f0f40718..a6f51805 100644 --- a/Changes +++ b/Changes @@ -33,6 +33,8 @@ DUMB: support tex fonts 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. diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index c503463d..b26b4e6c 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -835,6 +835,9 @@ rxvt_color::get (XColor &color) 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