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

Winit version 0.29.12 #3541

Merged
merged 3 commits into from
Mar 1, 2024
Merged

Winit version 0.29.12 #3541

merged 3 commits into from
Mar 1, 2024

Conversation

kchibisov
Copy link
Member

No description provided.

notgull and others added 3 commits March 1, 2024 13:43
Usually, if mouse events are equal to (0, 0) we filter them out.
However, if the event is very close to zero it will still be given to
the user. In some cases this can be caused by bad float math on the X11
server side.

Fix it by filtering absolute values smaller than floating point epsilon.

Signed-off-by: John Nunley <[email protected]>
Closes: #3500
@kchibisov kchibisov force-pushed the kchibisov/rel-02912 branch from ebe1fe0 to a19f7ca Compare March 1, 2024 09:45
@kchibisov kchibisov marked this pull request as ready for review March 1, 2024 09:46
@kchibisov kchibisov requested review from madsmtm and daxpedda March 1, 2024 10:01
Copy link
Member

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

Feel free to go ahead!

@kchibisov kchibisov merged commit 1c5fcf3 into v0.29.x Mar 1, 2024
50 checks passed
@kchibisov kchibisov deleted the kchibisov/rel-02912 branch March 1, 2024 10:05
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.

3 participants