Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generation of axis_stop events #255

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Fix generation of axis_stop events #255

merged 2 commits into from
Dec 22, 2023

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Dec 21, 2023

axis_stop should only be sent if the value is Some(0), while this also sent it for None. So every scroll event on one axis generated stop events for the other.

This fixes scrolling with a touchpad in Alacritty.

Anvil already does this, comparing against Some(0.0).

`axis_stop` should only be sent if the value is `Some(0)`, while this
also sent it for `None`. So every scroll event on one axis generated
stop events for the other.

This fixes scrolling with a touchpad in Alacritty.

Anvil already does this, comparing against `Some(0.0)`.
@ids1024 ids1024 requested a review from a team December 21, 2023 21:36
@Drakulix Drakulix merged commit 144f8cb into master_jammy Dec 22, 2023
4 checks passed
@ids1024 ids1024 deleted the axis-stop_jammy branch December 22, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants