diff options
author | Eric Johnson <yut23@gvljohnsons.com> | 2023-04-05 19:10:57 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2023-04-05 19:10:57 +0200 |
commit | 3960fee241f39af6aeeff008a07796854e9b51f7 (patch) | |
tree | ac3488a7c26e246b9a3f45a589093913ac06d0dc | |
parent | f6a26324e9f799a96d69a5887c1a8f2761577166 (diff) | |
download | vte-3960fee241f39af6aeeff008a07796854e9b51f7.tar.gz |
emulation: Fix invalid mouse scroll event on window edge
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2621
(cherry picked from commit 19acc51708d9e75ef2b314aa026467570e0bd8ee)
-rw-r--r-- | src/vte.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9419,7 +9419,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 */); |