Mercurial > emacs
changeset 12921:ed1abc9d781b
(display_text_line): Write blanks under the entire
scroll bar, not just the first column.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 22 Aug 1995 00:32:03 +0000 |
parents | 905444ab8d92 |
children | e171a85fd6b0 |
files | src/xdisp.c |
diffstat | 1 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Aug 21 22:15:58 1995 +0000 +++ b/src/xdisp.c Tue Aug 22 00:32:03 1995 +0000 @@ -3036,11 +3036,16 @@ covered up by the scroll bars, and it's distracting to see them when the scroll bar windows are flickering around to be reconfigured. */ - *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) - ? ' ' - : (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) - ? DISP_BORDER_GLYPH (dp) - : '|')); + if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) + { + int i; + for (i = 0; i < FRAME_SCROLL_BAR_COLS (f); i++) + *p1++ = SPACEGLYPH; + } + else + *p1++ = (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) + ? DISP_BORDER_GLYPH (dp) + : '|'); } desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], p1 - desired_glyphs->glyphs[vpos]);