[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scrollbar (no toolkit) display bug
From: |
Gerd Moellmann |
Subject: |
Re: scrollbar (no toolkit) display bug |
Date: |
26 Oct 2001 14:01:19 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50 |
raphael.berbain@bigfoot.com (Raphaël Berbain) writes:
> And I guess this is it. I hope you'll be able to reproduce this
> behavior, as I have no idea how to make it more deterministic.
That was a pretty good test case. Thanks, Raphaël. The patch
I can come up with is
*** xterm.c 2001/10/26 11:51:51 1.669
--- xterm.c 2001/10/26 11:56:15
***************
*** 9253,9262 ****
{
int area_width = FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
int rest = area_width - sb_width;
! if (rest > 0)
! x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
! left + area_width - rest, top,
! rest, max (height, 1), False);
}
/* Move/size the scroll bar window. */
--- 9253,9268 ----
{
int area_width = FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
int rest = area_width - sb_width;
! if (rest > 0 && height > 0)
! {
! if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f))
! x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
! left + area_width - rest, top,
! rest, height, False);
! else
! x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
! left, top, rest, height, False);
! }
}
/* Move/size the scroll bar window. */
- scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/24
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/24
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/24
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/24
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/25
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/25
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/25
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/25
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/25
- Re: scrollbar (no toolkit) display bug,
Gerd Moellmann <=
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/27
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/29
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/29
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/30
- Re: scrollbar (no toolkit) display bug, Raphaël Berbain, 2001/10/31
- Re: scrollbar (no toolkit) display bug, Gerd Moellmann, 2001/10/31