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 incorrect delta filtering #3559

Merged
merged 1 commit into from
Mar 4, 2024
Merged

Fix incorrect delta filtering #3559

merged 1 commit into from
Mar 4, 2024

Conversation

notgull
Copy link
Member

@notgull notgull commented Mar 2, 2024

This fixes the incorrect delta filtering. Due to a bug in the filtering
code, it would incorrectly filter out the correct mouse delta rather
than the one below zero. This fixes the order of events.


Closes #3558

  • Tested on all platforms changed
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality
  • Updated feature matrix, if new features were added or implemented

@notgull notgull requested a review from kchibisov as a code owner March 2, 2024 22:13
Copy link
Member

@kchibisov kchibisov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a changelog entry for that, since it was backported, so it's a change.

@notgull notgull requested a review from kchibisov March 3, 2024 16:38
Invert the mouse delta filter, so it aligns with the intention of
filtering values lower than epsilon.

Signed-off-by: John Nunley <[email protected]>
Closes: #3558
@kchibisov kchibisov merged commit f6f1c45 into master Mar 4, 2024
51 checks passed
@kchibisov kchibisov deleted the notgull/delta2 branch March 4, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Mouse events regression in 0.29.12+ on X11
2 participants