Let modified wheel events scroll the view

This commit is contained in:
Přemysl Eric Janouch 2021-11-14 03:36:36 +01:00
parent 1dce2e079c
commit 37adaac965
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -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: