Skip to content

ui/windowManager: Fix horizontal scrolling when smooth events are used

Pascal Nowack requested to merge pnowack/gnome-shell:fix-hwheel-scroll into master
Currently, gnome-shell uses the wrong scrolling direction for
horizontal scrolling events.
When dx < 0 for a smooth scroll event, then the scrolling direction is
supposed to be Clutter.ScrollDirection.LEFT, instead of
Clutter.ScrollDirection.RIGHT, as dx is smaller than 0.

Fix this issue by swapping the values LEFT and RIGHT.

Merge request reports