aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-07-24 22:45:26 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-07-24 22:46:03 +0200
commiteca319e5e4aa76900721545531ea0d6545298143 (patch)
tree26189de10220714acc6b4324c039d58e867ce8a3
parent817f1b6000fdbb1b813b1d290eaeeae4965ae464 (diff)
downloadfiv-eca319e5e4aa76900721545531ea0d6545298143.tar.gz
fiv-eca319e5e4aa76900721545531ea0d6545298143.tar.xz
fiv-eca319e5e4aa76900721545531ea0d6545298143.zip
Extend a comment
-rw-r--r--fiv-browser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fiv-browser.c b/fiv-browser.c
index 25f12f4..a11119a 100644
--- a/fiv-browser.c
+++ b/fiv-browser.c
@@ -1220,6 +1220,7 @@ fiv_browser_scroll_event(GtkWidget *widget, GdkEventScroll *event)
case GDK_SCROLL_SMOOTH:
// On GDK/Wayland, the mouse wheel will typically create 1.5 deltas,
// after dividing a 15 degree click angle from libinput by 10.
+ // (Noticed on Arch + Sway, cannot reproduce on Ubuntu 22.04.)
// On X11, as libinput(4) indicates, the delta will always be 1.0.
if ((delta += event->delta_y) <= -1)
set_item_size(self, self->item_size + 1);