Skip to content

Fix incorrect delta filtering#3559

Merged
kchibisov merged 1 commit into
masterfrom
notgull/delta2
Mar 4, 2024
Merged

Fix incorrect delta filtering#3559
kchibisov merged 1 commit into
masterfrom
notgull/delta2

Conversation

@notgull
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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 <dev@notgull.net>
Closes: #3558
@kchibisov kchibisov merged commit f6f1c45 into master Mar 4, 2024
@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