mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-15 09:47:20 +00:00
(echo_area_display): Don't offset using left-side
scroll bar width because it is included in the width; clear the entire line.
This commit is contained in:
parent
944a581d4d
commit
b83337746c
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user