Commit e90dbbd1 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(XTset_vertical_scroll_bar): Fix previous change. Clear

under scroll bar with width FRAME_SCROLL_BAR_COLS.
parent 84394d44
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment