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

Cocoa_WarpMouseGlobal missing conditional #1571

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Cocoa_WarpMouseGlobal missing conditional #1571

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: don't know
Reported for operating system, platform: Mac OS X 10.8, All

Comments on the original bug report:

On 2014-07-18 06:00:20 +0000, Tim McDaniel wrote:

Reviewing current revision 9008 code, against the 2.0.3 release, I see that Cocoa_WarpMouseGlobal is missing the code dealing with the conditional "if ([data->listener isMoving])", as at the top of Cocoa_WarpMouse. This extra bit of code handles the case of attempting to warp the mouse when the window is being moved by user, which will result in the window snapping to weird locations, and other evil. Although I have not directly tested Cocoa_WarpMouseGlobal, it is difficult to see how it would not suffer the same evil behavior since it is currently missing that bit of code.

Cheers

On 2014-08-18 01:40:33 +0000, Robotic-Brain wrote:

Fixed by https://hg.libsdl.org/SDL/rev/c5e33f9a0d03

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

No branches or pull requests

1 participant