Mercurial > emacs
diff src/xterm.c @ 25328:df0478893e10
(XTset_vertical_scroll_bar): Fix previous change. Clear
under scroll bar with width FRAME_SCROLL_BAR_COLS.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 19 Aug 1999 13:56:14 +0000 |
parents | 5bcee7af1643 |
children | 2f3ad0a21be5 |
line wrap: on
line diff
--- a/src/xterm.c Wed Aug 18 13:25:45 1999 +0000 +++ b/src/xterm.c Thu Aug 19 13:56:14 1999 +0000 @@ -7929,7 +7929,8 @@ for them on the frame, we have to clear "under" them. */ XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), pixel_left, pixel_top, - pixel_width + 1, pixel_height, False); + FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f), + pixel_height, False); /* Move/size the scroll bar widget. */ if (mask)