Skip to content

Linux: Inversed MouseScrollDelta::LineDelta values #233

@alexheretic

Description

@alexheretic

Since updating winit 0.6 -> 0.7 I've noticed the MouseScrollDelta::LineDelta(_, y) y values have inverted on Linux x11 & wayland. So now the behaviour is opposite of the documentation. The previous/correct behaviour is 1 scrolling away from yourself, -1 scrolling back.

Testing the same case on windows, and the y value was correct as documented. I didn't test on mac, but I'm presuming it's a Linux regression. Can anyone else confirm this on their setup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DS - waylandAffects the Wayland backend, or generally free Unix platformsDS - x11Affects the X11 backend, or generally free Unix platforms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions