changeset 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 fa344b2d7041
children dca526aca149
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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)