-
Committer:
RabbitBot
-
Author(s):
Robert Roth
-
Date:
2014-06-09 17:44:47 UTC
-
mfrom:
(2519.1.2 lp1274815)
-
Revision ID:
rabbitbot-20140609174447-qvd5v4ri68rgwld4
Handle the SMOOTH_SCROLL events to enable smooth scrolling.
As the per-direction mousewheel events have been propagated to subclasses, and the smooth scroll (since 3.4) can have multiple directions (see [1]), check the delta values and propagate for all directions (at most two, one vertical and one horizontal scroll).
[1] https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkScrollDirection