comparison 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
comparison
equal deleted inserted replaced
25327:fa344b2d7041 25328:df0478893e10
7927 7927
7928 /* Since toolkit scroll bars are smaller than the space reserved 7928 /* Since toolkit scroll bars are smaller than the space reserved
7929 for them on the frame, we have to clear "under" them. */ 7929 for them on the frame, we have to clear "under" them. */
7930 XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), 7930 XClearArea (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
7931 pixel_left, pixel_top, 7931 pixel_left, pixel_top,
7932 pixel_width + 1, pixel_height, False); 7932 FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f),
7933 pixel_height, False);
7933 7934
7934 /* Move/size the scroll bar widget. */ 7935 /* Move/size the scroll bar widget. */
7935 if (mask) 7936 if (mask)
7936 XtConfigureWidget (SCROLL_BAR_X_WIDGET (bar), 7937 XtConfigureWidget (SCROLL_BAR_X_WIDGET (bar),
7937 pixel_left + VERTICAL_SCROLL_BAR_WIDTH_TRIM, 7938 pixel_left + VERTICAL_SCROLL_BAR_WIDTH_TRIM,