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

Change the SDL backend of SetCursor to accept global positions. #349

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

Bradbev
Copy link
Contributor

@Bradbev Bradbev commented Oct 18, 2024

imgui.MousePos returns global positions in the SDL backend, so it makes sense that SetCursor would accept the same position. Typically used to lock a mouse in place.

…ositions.

imgui.MousePos returns global positions in the SDL backend, so it makes sense that SetCursor would accept the same position.  Typically used to lock a mouse in place.
Copy link
Collaborator

@gucio321 gucio321 left a comment

Choose a reason for hiding this comment

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

LGTM

@gucio321 gucio321 merged commit c39c7e5 into AllenDang:main Oct 18, 2024
5 checks passed
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