From 37adaac965d2dc7cbb28c1068c382521a30092b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?=
Date: Sun, 14 Nov 2021 03:36:36 +0100 Subject: [PATCH] Let modified wheel events scroll the view --- fastiv-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fastiv-view.c b/fastiv-view.c index b79fcab..700dc9b 100644 --- a/fastiv-view.c +++ b/fastiv-view.c @@ -269,6 +269,8 @@ fastiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event) FastivView *self = FASTIV_VIEW(widget); if (!self->surface) return FALSE; + if (event->state & gtk_accelerator_get_default_mod_mask()) + return FALSE; switch (event->direction) { case GDK_SCROLL_UP: