emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master be60e9e947: Fix bug in `pixel-scroll-precision-mode' on nonselect


From: Po Lu
Subject: master be60e9e947: Fix bug in `pixel-scroll-precision-mode' on nonselected windows
Date: Sun, 8 May 2022 07:03:07 -0400 (EDT)

branch: master
commit be60e9e947cc441abc3373d321ff7869b607628e
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 15d6cf94b0..72d10f9da2 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);
        }
     }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]