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

wayland: Send fake warp coordinates when emulating warps with relativ… #10554

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

Kontrabant
Copy link
Contributor

…e mode

Send the fake warp coordinates when emulating warps with relative mode to ensure that it appears that the cursor is always reset to where the application expects it to be.

Fixes cases where games can continue moving the camera if the mouse is lifted during motion.

Fixes #10547

…e mode

Send the fake warp coordinates when emulating warps with relative mode to ensure that it appears that the cursor is always reset to where the application expects it to be.

Fixes cases where games can continue moving the camera if the mouse is lifted during motion.
@Kontrabant Kontrabant merged commit 8fcbf97 into libsdl-org:SDL2 Aug 16, 2024
40 checks passed
@Kontrabant Kontrabant deleted the SDL2_warp_dest branch August 16, 2024 15:24
@Kontrabant
Copy link
Contributor Author

Cherry-picked to 2.30.x as well.

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