aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-14 03:36:36 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-14 03:37:09 +0100
commit37adaac965d2dc7cbb28c1068c382521a30092b6 (patch)
treed9133dded9332776fcdaf0b95da370956a694eb3
parent1dce2e079c2f8e2bff2cd2bdd31d1bb4675a5f1b (diff)
downloadfiv-37adaac965d2dc7cbb28c1068c382521a30092b6.tar.gz
fiv-37adaac965d2dc7cbb28c1068c382521a30092b6.tar.xz
fiv-37adaac965d2dc7cbb28c1068c382521a30092b6.zip
Let modified wheel events scroll the view
-rw-r--r--fastiv-view.c2
1 files changed, 2 insertions, 0 deletions
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: