From: Po Lu Date: Sun, 8 May 2022 11:02:06 +0000 (+0800) Subject: Fix bug in `pixel-scroll-precision-mode' on nonselected windows X-Git-Tag: emacs-29.0.90~1910^2~910 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be60e9e947cc441abc3373d321ff7869b607628e;p=emacs.git Fix bug in `pixel-scroll-precision-mode' on nonselected windows * src/window.c (Fset_window_vscroll): Mark window for redisplay. (bug#55299) --- 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); } }