mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
render: ensure scroll region’s endpoint is valid after a window resize
If we had a non-empty bottom scroll region, and the window was resized to a smaller size, the scroll region was not reset correctly. This led to a crash when scrolling the screen content. Fix by making sure the scroll region’s endpoint is within range.
This commit is contained in:
parent
98528da5e5
commit
e2baa65238
3 changed files with 6 additions and 5 deletions
|
|
@ -50,6 +50,8 @@
|
|||
### Fixed
|
||||
|
||||
* Incorrect icon in dock and window switcher on Gnome ([#1317][1317])
|
||||
* Crash when scrolling after resizing the window with non-zero
|
||||
scrolling regions.
|
||||
|
||||
[1317]: https://codeberg.org/dnkl/foot/issues/1317
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue