Fix bug in `pixel-scroll-precision-mode' on nonselected windows

* src/window.c (Fset_window_vscroll): Mark window for redisplay.
(bug#55299)
This commit is contained in:
Po Lu 2022-05-08 19:02:06 +08:00
parent ccbdae840d
commit be60e9e947

View file

@ -7980,6 +7980,9 @@ If PIXELS-P is non-nil, the return value is VSCROLL. */)
/* Prevent redisplay shortcuts. */
XBUFFER (w->contents)->prevent_redisplay_optimizations_p = true;
/* Mark W for redisplay. (bug#55299) */
wset_redisplay (w);
}
}