[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 05:10:25PM +0100, Julien Cristau wrote:
> Package: xterm
> Version: 223-1
> Severity: normal
> 
> Hi, I noticed what seems to be an off-by-one problem on redraw with the
> latest xterm, see the screenshot at
> http://liafa.jussieu.fr/~jcristau/tmp/screenshot.png
> In mutt the border (which is black when launching it) changes color when
> I switch workspaces.

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.

(I also considered keeping the inner border matching the original default
color, but that didn't look right...)

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

Attachment: pgpg_d0u2PZrM.pgp
Description: PGP signature


Reply to: