Skip to content

Conversation

@meyraud705
Copy link
Contributor

Mouse button index starts at 1. Using 0 causes negative left shift in SDL_BUTTON_MASK().

@Kontrabant Kontrabant merged commit c9baf20 into libsdl-org:main Jan 5, 2026
45 checks passed
@Kontrabant
Copy link
Contributor

Merged, thanks!

Cherry-picking to 3.4.x as well.

@meyraud705 meyraud705 deleted the meyraud705-mouse-button branch January 5, 2026 21:21
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