Commit b8333774 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(echo_area_display): Don't offset using left-side

scroll bar width because it is included in the width; clear
the entire line.
parent 944a581d
......@@ -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));
}
}
}
......
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