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