diff options
author | Eric Johnson <yut23@gvljohnsons.com> | 2023-04-05 19:06:13 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2023-04-05 19:06:13 +0200 |
commit | 19acc51708d9e75ef2b314aa026467570e0bd8ee (patch) | |
tree | e3a8153f46fc36c6cd4962580f8d3910c4510281 | |
parent | 0cade2cf3713142e0fc606936066b840fc22287c (diff) | |
download | vte-19acc51708d9e75ef2b314aa026467570e0bd8ee.tar.gz |
emulation: Fix invalid mouse scroll event on window edge
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2621
-rw-r--r-- | src/vte.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9577,7 +9577,7 @@ Terminal::widget_mouse_scroll(vte::platform::ScrollEvent const& event) cnt = -cnt; for (i = 0; i < cnt; i++) { /* Encode the parameters and send them to the app. */ - feed_mouse_event(grid_coords_from_view_coords(m_mouse_last_position), + feed_mouse_event(confined_grid_coords_from_view_coords(m_mouse_last_position), button, false /* not drag */, false /* not release */); |