From: root Date: Fri, 17 Feb 2006 14:30:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=768ba50cbde5f52c34621a8a5d308a6793ed7aa5;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/Changes b/Changes index a1ee51cc..1fd55da6 100644 --- a/Changes +++ b/Changes @@ -21,6 +21,11 @@ DUMB: support tex fonts - modified XIM according to a patch sent by Takano Akio that sets the preedit rectangle for OverTheSpot, which helps some input methods to correctly position their preedit window. + - un-optimise the line clearing on newly scrolled-in lines a bit: the + former reasoning was that any fg colour on default bg looks the same + in empts spaces, but thats not true when reversing (e.g. selection), + so also check for matching fg colours. This fixes the problem where + selecting newly scrolled-in lines would exhibit wrong colours. 7.6 Fri Feb 10 08:52:36 CET 2006 - changed interpretation of [alpha] colour prefix. diff --git a/src/screen.C b/src/screen.C index 0d6d5245..89c8da42 100644 --- a/src/screen.C +++ b/src/screen.C @@ -647,7 +647,7 @@ rxvt_term::scr_scroll_text (int row1, int row2, int count) NOTHROW // optimize if already cleared, can be significant on slow machines // could be rolled into scr_blank_screen_mem - if (l.r && l.l < ncol - 1 && !((l.r[l.l + 1] ^ rstyle) & RS_bgMask)) + if (l.r && l.l < ncol - 1 && !((l.r[l.l + 1] ^ rstyle) & (RS_fgMask | RS_bgMask))) { scr_blank_line (l, 0, l.l, rstyle); l.l = 0;