diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-14 03:36:36 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-14 03:37:09 +0100 |
commit | 37adaac965d2dc7cbb28c1068c382521a30092b6 (patch) | |
tree | d9133dded9332776fcdaf0b95da370956a694eb3 /fastiv-view.c | |
parent | 1dce2e079c2f8e2bff2cd2bdd31d1bb4675a5f1b (diff) | |
download | fiv-37adaac965d2dc7cbb28c1068c382521a30092b6.tar.gz fiv-37adaac965d2dc7cbb28c1068c382521a30092b6.tar.xz fiv-37adaac965d2dc7cbb28c1068c382521a30092b6.zip |
Let modified wheel events scroll the view
Diffstat (limited to 'fastiv-view.c')
-rw-r--r-- | fastiv-view.c | 2 |
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: |