HumbleUI / JWM

Cross-platform window management and OS integration library for Java
Apache License 2.0
571 stars 46 forks source link

X11: When scrolling horizontally, primary mouse button events are constantly generated #217

Closed tonsky closed 2 years ago

tonsky commented 2 years ago

Screenshot from 2022-02-16 22-35-04

Logitech MX Master 3 + side wheel + Ubuntu 20.04

dzaima commented 2 years ago

I think https://github.com/HumbleUI/JWM/blob/a0cb3b06261c939f82cb07bad56ba411ed986f99/linux/cc/MouseButtonX11.cc#L15-L17 should be extended to v<4 || v>7 - see this (happened to come across that while investigating #214)