diff --git a/thunar/thunar-standard-view.c b/thunar/thunar-standard-view.c index cf55455d..c88c5909 100644 --- a/thunar/thunar-standard-view.c +++ b/thunar/thunar-standard-view.c @@ -3164,6 +3164,11 @@ thunar_standard_view_scroll_event (GtkWidget *view, } } + if (event->delta_y > 0) + event->direction = GDK_SCROLL_UP; + else + event->direction = GDK_SCROLL_DOWN; + /* zoom-in/zoom-out on control+mouse wheel */ if ((event->state & GDK_CONTROL_MASK) != 0 && (event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_DOWN)) {