diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-04-29 18:13:14 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-04-29 18:13:50 +0200 |
commit | fe868c82a071faf05a011942da066b1b9078f121 (patch) | |
tree | 5393f6b65b83963c1aa80ce03c62dfee73219b81 /src/widget.hh | |
parent | 1398ac862fb10b3cb7cdfc8267be2df5d5f39eb5 (diff) | |
download | vte-fe868c82a071faf05a011942da066b1b9078f121.tar.gz |
widget: Ignore synthetic scroll eventswip/issue-2561
https://gitlab.gnome.org/GNOME/vte/-/issues/2561
Diffstat (limited to 'src/widget.hh')
-rw-r--r-- | src/widget.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.hh b/src/widget.hh index 448ef58d..5e6b1bdc 100644 --- a/src/widget.hh +++ b/src/widget.hh @@ -576,7 +576,7 @@ private: #if VTE_GTK == 3 unsigned read_modifiers_from_gdk(GdkEvent* event) const noexcept; MouseEvent mouse_event_from_gdk(GdkEvent* event) const /* throws */; - ScrollEvent scroll_event_from_gdk(GdkEvent* event) const /* throws */; + std::optional<ScrollEvent> scroll_event_from_gdk(GdkEvent* event) const; #elif VTE_GTK == 4 MouseEvent mouse_event_from_gesture_click(EventBase::Type type, GtkGestureClick* gesture, |