aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-07-11 04:09:49 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-07-15 07:35:33 +0200
commit1fee920902265cfa8943065d0228cbcc7296f304 (patch)
treee23a1122c24dff4d87422e32d8d6cf9809448216 /fiv-view.c
parentc6096d05b5cf3be90851153240819b422a69f01c (diff)
downloadfiv-1fee920902265cfa8943065d0228cbcc7296f304.tar.gz
fiv-1fee920902265cfa8943065d0228cbcc7296f304.tar.xz
fiv-1fee920902265cfa8943065d0228cbcc7296f304.zip
Make the browser scroll with touchpad on Wayland
And generally clear up scroll handling.
Diffstat (limited to 'fiv-view.c')
-rw-r--r--fiv-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fiv-view.c b/fiv-view.c
index 9526a6c..83173f7 100644
--- a/fiv-view.c
+++ b/fiv-view.c
@@ -581,7 +581,7 @@ fiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event)
case GDK_SCROLL_DOWN:
return set_scale(self, self->scale / SCALE_STEP);
default:
- // For some reason, we can also get GDK_SCROLL_SMOOTH.
+ // For some reason, native GdkWindows may also get GDK_SCROLL_SMOOTH.
// Left/right are good to steal from GtkScrolledWindow for consistency.
return TRUE;
}