Fix display of vscrolled windows
* src/xdisp.c (redisplay_window): Fix condition for resetting the window's vscroll. (Bug#70038)
This commit is contained in:
parent
4cefa3c0b1
commit
ea62a14ea3
1 changed files with 1 additions and 1 deletions
|
@ -19811,7 +19811,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
|
||||||
/* The vscroll should be preserved in this case, since
|
/* The vscroll should be preserved in this case, since
|
||||||
`pixel-scroll-precision-mode' must continue working normally
|
`pixel-scroll-precision-mode' must continue working normally
|
||||||
when a mini-window is resized. (bug#55312) */
|
when a mini-window is resized. (bug#55312) */
|
||||||
if (!w->preserve_vscroll_p || !window_frozen_p (w))
|
if (!w->preserve_vscroll_p && !window_frozen_p (w))
|
||||||
w->vscroll = 0;
|
w->vscroll = 0;
|
||||||
|
|
||||||
w->preserve_vscroll_p = false;
|
w->preserve_vscroll_p = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue