diff options
| author | Eli Zaretskii | 2024-04-11 18:34:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-04-11 18:34:53 +0300 |
| commit | ea62a14ea3b7f3f6feb0c7c803eeabe3c8499276 (patch) | |
| tree | e9b5f5fee1383fc93a9bc1038b2d4f15b10cd5fd /src | |
| parent | 4cefa3c0b1f7270ca5317caa02101a0257595b9c (diff) | |
| download | emacs-ea62a14ea3b7f3f6feb0c7c803eeabe3c8499276.tar.gz emacs-ea62a14ea3b7f3f6feb0c7c803eeabe3c8499276.zip | |
Fix display of vscrolled windows
* src/xdisp.c (redisplay_window): Fix condition for resetting the
window's vscroll. (Bug#70038)
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 2d85a991e77..a9eb47720d0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -19811,7 +19811,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p) | |||
| 19811 | /* The vscroll should be preserved in this case, since | 19811 | /* The vscroll should be preserved in this case, since |
| 19812 | `pixel-scroll-precision-mode' must continue working normally | 19812 | `pixel-scroll-precision-mode' must continue working normally |
| 19813 | when a mini-window is resized. (bug#55312) */ | 19813 | when a mini-window is resized. (bug#55312) */ |
| 19814 | if (!w->preserve_vscroll_p || !window_frozen_p (w)) | 19814 | if (!w->preserve_vscroll_p && !window_frozen_p (w)) |
| 19815 | w->vscroll = 0; | 19815 | w->vscroll = 0; |
| 19816 | 19816 | ||
| 19817 | w->preserve_vscroll_p = false; | 19817 | w->preserve_vscroll_p = false; |