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

[PLATFORM DESKTOP] Use relative mouse mode when cursor is disabled #3874

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

JeffM2501
Copy link
Contributor

When the cursor is disabled we need to put GLFW in relative mouse motion mode. If we don't some platforms (linux) can get drift in the mouse position.

This PR sets the GLFW mode when we disable/enable the cursor.

@raysan5 raysan5 merged commit 9bb3d99 into raysan5:master Mar 18, 2024
14 checks passed
@raysan5
Copy link
Owner

raysan5 commented Mar 18, 2024

@JeffM2501 Interesting issue! Thanks for the review!

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