mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-19 04:21:45 -07:00
(window_scroll_pixel_based): Adjust glyph matrices
when increasing window's vscroll.
This commit is contained in:
parent
a758f97d7f
commit
a74eca5000
1 changed files with 7 additions and 4 deletions
11
src/window.c
11
src/window.c
|
|
@ -3995,10 +3995,13 @@ window_scroll_pixel_based (window, n, whole, noerror)
|
|||
{
|
||||
if (it.current_y + it.max_ascent + it.max_descent
|
||||
> it.last_visible_y)
|
||||
/* The last line was only partially visible, make it fully
|
||||
visible. */
|
||||
w->vscroll = (it.last_visible_y
|
||||
- it.current_y + it.max_ascent + it.max_descent);
|
||||
{
|
||||
/* The last line was only partially visible, make it fully
|
||||
visible. */
|
||||
w->vscroll = (it.last_visible_y
|
||||
- it.current_y + it.max_ascent + it.max_descent);
|
||||
adjust_glyphs (it.f);
|
||||
}
|
||||
else if (noerror)
|
||||
return;
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue