From 08f9ab81d4c476bdca6e23aba00f615eb811d929 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 04:10:58 +0200 Subject: Merging upstream version 2:9.1.0374. Signed-off-by: Daniel Baumann --- src/gui_gtk_x11.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui_gtk_x11.c') diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index d4a8b93..4d201fc 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -2152,6 +2152,9 @@ scroll_event(GtkWidget *widget, FALSE, vim_modifiers); } } + else if (event->direction == GDK_SCROLL_SMOOTH && display_type == DT_X11) + // for X11 we deal with unsmooth events, and so ignore the smooth ones + ; else #undef DT_X11 #undef DT_WAYLAND -- cgit v1.2.3