]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug in `pixel-scroll-precision-mode' on nonselected windows
authorPo Lu <luangruo@yahoo.com>
Sun, 8 May 2022 11:02:06 +0000 (19:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 8 May 2022 11:02:53 +0000 (19:02 +0800)
* src/window.c (Fset_window_vscroll): Mark window for redisplay.
(bug#55299)

src/window.c

index 15d6cf94b0ec1fb1bac864020d1423a3225241f0..72d10f9da23a529df75aa9e772d42e00fca4966d 100644 (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);
        }
     }