[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#401726: xterm: color change on redraw



On Tue, Dec 05, 2006 at 09:48:19PM +0100, Julien Cristau wrote:
> On Tue, Dec  5, 2006 at 14:47:29 -0500, Thomas Dickey wrote:
> 
> > I'm not quite sure how to interpret the pictures wrt workspaces.
> > What I _see_ looks plausible enough: the inner border of the window
> > is colored to match the last background used for clearing the screen.
> > 
> > Normally the inner border isn't treated specially; I happened to notice
> > that it (along with some other cases) wasn't being repainted on exposure
> > events.  In #223, I added a check if the inner border needs to be repainted,
> > and that can account for the difference between the top two windows.
> > 
> So maybe mutt changes the background color, and then xterm uses that to
> repaint the inner border?  I also noticed that when the inner border has

yes - judging by your report, it's sounding as if I picked the current ANSI
background color.  (I wouldn't notice something like that immediately since
most of my color apps tend to have a default background).

> been repainted when inside mutt, and I quit mutt, the border is not
> repainted and stays blue (for example) while the rest of the background
> is black (until the next exposure event) :)

That sounds consistent.  Before #223, the border simply wasn't repainted.
Now it's repainted, and we don't like the color scheme.

The test-case that I was investigating showed that - but I didn't happen
to use a background other than black or white.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgptQuQOye5XI.pgp
Description: PGP signature


Reply to: