From be60e9e947cc441abc3373d321ff7869b607628e Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 8 May 2022 19:02:06 +0800 Subject: [PATCH] Fix bug in `pixel-scroll-precision-mode' on nonselected windows * src/window.c (Fset_window_vscroll): Mark window for redisplay. (bug#55299) --- src/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/window.c b/src/window.c index 15d6cf94b0e..72d10f9da23 100644 --- a/src/window.c +++ b/src/window.c @@ -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); } } -- 2.39.2