1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

(XTset_vertical_scroll_bar): Fix previous change. Clear

under scroll bar with width FRAME_SCROLL_BAR_COLS.
This commit is contained in:
Gerd Moellmann 1999-08-19 13:56:14 +00:00
parent 84394d4482
commit e90dbbd17e

View File

@ -7929,7 +7929,8 @@ XTset_vertical_scroll_bar (w, portion, whole, position)
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)