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 button 2 and 3 when releasing the mouse button on Linux #202

Open
wants to merge 1 commit into
base: 1.3
Choose a base branch
from

Conversation

TolikPylypchuk
Copy link
Contributor

@TolikPylypchuk TolikPylypchuk commented Sep 22, 2024

button_map_lookup - a function which swaps button 2 and 3 - is called twice when dispatching the mouse release event. First time at the very beginning of dispatch_mouse_release, and then another time in the switch statement, which means that buttons 2 and 3 are swapped when dispatching mouse release events on Linux.

This is a problem only on 1.3 - on 1.2 everything looks fine.

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.

1 participant