projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35d6ba
)
Avoid crashes when scrolling images under winner-mode
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 21 Oct 2024 17:42:01 +0000
(20:42 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 21 Oct 2024 17:42:01 +0000
(20:42 +0300)
* src/window.c (window_scroll_pixel_based): Fix calculation of a
window's vscroll. (Bug#73933)
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index dba2d6a3523805aa58038d744b0d5fc3586bf9f1..a2b40cb197f7b3cb1608b272eda6271b9dcf9427 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-6017,7
+6017,7
@@
window_scroll_pixel_based (Lisp_Object window, int n, bool whole, bool noerror)
/* The last line was only partially visible, make it fully
visible. */
w->vscroll = (it.last_visible_y
- -
it.current_y + it.max_ascent + it.max_descent
);
+ -
(it.current_y + it.max_ascent + it.max_descent)
);
adjust_frame_glyphs (it.f);
}
else