diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-11-21 23:27:30 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-11-22 00:48:21 +0100 |
commit | c4dead2eee2d7a480c5765d6e6f83837a2a44771 (patch) | |
tree | 875505f11a8ea911ff41344df94ed16aba5c65a7 | |
parent | a8796512d2778375a4f14592188ac9d1603d8a1c (diff) | |
download | fiv-c4dead2eee2d7a480c5765d6e6f83837a2a44771.tar.gz fiv-c4dead2eee2d7a480c5765d6e6f83837a2a44771.tar.xz fiv-c4dead2eee2d7a480c5765d6e6f83837a2a44771.zip |
Fix another mysterious GTK+ issue
-rw-r--r-- | fastiv-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fastiv-view.c b/fastiv-view.c index 5ecb85f..4efb8be 100644 --- a/fastiv-view.c +++ b/fastiv-view.c @@ -313,7 +313,9 @@ fastiv_view_scroll_event(GtkWidget *widget, GdkEventScroll *event) case GDK_SCROLL_DOWN: return set_scale(self, self->scale / SCALE_STEP); default: - return FALSE; + // For some reason, we can also get GDK_SCROLL_SMOOTH. + // Left/right are good to steal from GtkScrolledWindow for consistency. + return TRUE; } } |