diff options
| author | Karl Heuer | 1995-08-22 00:32:03 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-08-22 00:32:03 +0000 |
| commit | 75d13c6481ab5197c98b6e1d1c9e50e89be3f211 (patch) | |
| tree | 4d105d210dddbffa29e0f5b437114bde0270a0f7 /src | |
| parent | 01f89d118362180114153cc39b88cdf3495deae2 (diff) | |
| download | emacs-75d13c6481ab5197c98b6e1d1c9e50e89be3f211.tar.gz emacs-75d13c6481ab5197c98b6e1d1c9e50e89be3f211.zip | |
(display_text_line): Write blanks under the entire
scroll bar, not just the first column.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index bd1bdf5bcdb..7000d8d6089 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3036,11 +3036,16 @@ display_text_line (w, start, vpos, hpos, taboffset) | |||
| 3036 | covered up by the scroll bars, and it's distracting to see | 3036 | covered up by the scroll bars, and it's distracting to see |
| 3037 | them when the scroll bar windows are flickering around to be | 3037 | them when the scroll bar windows are flickering around to be |
| 3038 | reconfigured. */ | 3038 | reconfigured. */ |
| 3039 | *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) | 3039 | if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) |
| 3040 | ? ' ' | 3040 | { |
| 3041 | : (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) | 3041 | int i; |
| 3042 | ? DISP_BORDER_GLYPH (dp) | 3042 | for (i = 0; i < FRAME_SCROLL_BAR_COLS (f); i++) |
| 3043 | : '|')); | 3043 | *p1++ = SPACEGLYPH; |
| 3044 | } | ||
| 3045 | else | ||
| 3046 | *p1++ = (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) | ||
| 3047 | ? DISP_BORDER_GLYPH (dp) | ||
| 3048 | : '|'); | ||
| 3044 | } | 3049 | } |
| 3045 | desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], | 3050 | desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], |
| 3046 | p1 - desired_glyphs->glyphs[vpos]); | 3051 | p1 - desired_glyphs->glyphs[vpos]); |