diff options
| author | Po Lu | 2022-05-08 19:02:06 +0800 |
|---|---|---|
| committer | Po Lu | 2022-05-08 19:02:53 +0800 |
| commit | be60e9e947cc441abc3373d321ff7869b607628e (patch) | |
| tree | fe17804a6cee22e7b7133d059ec8acf8a734f803 /src/window.c | |
| parent | ccbdae840d21100520d191afa7001c4cd53a48a8 (diff) | |
| download | emacs-be60e9e947cc441abc3373d321ff7869b607628e.tar.gz emacs-be60e9e947cc441abc3373d321ff7869b607628e.zip | |
Fix bug in `pixel-scroll-precision-mode' on nonselected windows
* src/window.c (Fset_window_vscroll): Mark window for redisplay.
(bug#55299)
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 3 |
1 files changed, 3 insertions, 0 deletions
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. */) | |||
| 7980 | 7980 | ||
| 7981 | /* Prevent redisplay shortcuts. */ | 7981 | /* Prevent redisplay shortcuts. */ |
| 7982 | XBUFFER (w->contents)->prevent_redisplay_optimizations_p = true; | 7982 | XBUFFER (w->contents)->prevent_redisplay_optimizations_p = true; |
| 7983 | |||
| 7984 | /* Mark W for redisplay. (bug#55299) */ | ||
| 7985 | wset_redisplay (w); | ||
| 7983 | } | 7986 | } |
| 7984 | } | 7987 | } |
| 7985 | 7988 | ||