From b83337746c80b17bfc1d42e3db548020fa5d01ba Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 10 Jul 1997 07:09:50 +0000 Subject: [PATCH] (echo_area_display): Don't offset using left-side scroll bar width because it is included in the width; clear the entire line. --- src/xdisp.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 3f89898d389..a36b8f0eda9 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -647,11 +647,13 @@ echo_area_display () i < vpos + XFASTINT (XWINDOW (mini_window)->height); i++) { get_display_line (f, i, 0); + /* We don't use FRAME_SCROLL_BAR_WIDTH (f) as the starting + hpos, because it is good to clear whatever is behind the + scroll bar. This does not affect the scroll bar itself. */ display_string (XWINDOW (mini_window), i, "", 0, - FRAME_LEFT_SCROLL_BAR_WIDTH (f), - 0, 0, 0, - FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f)); + 0, 0, 0, + 0, FRAME_WIDTH (f) + FRAME_SCROLL_BAR_WIDTH (f)); } } } -- 2.11.4.GIT