We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1824

Summary: Mac: Moving a hidden cursor out of the window doesn't un-hide it
Product: SDL Reporter: Alex Szpakowski <amaranth72>
Component: eventsAssignee: (disabled) Jørgen Tjernø <jorgen>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86   
OS: Mac OS X 10.7   

Description Alex Szpakowski 2013-04-25 22:22:29 UTC
If the cursor is hidden (via SDL_SetCursor(SDL_FALSE)) and the user moves the cursor out of the window, the cursor will remain invisible until the app either loses keyboard focus (user clicked out of the app or alt-tabbed), or the user mouses over an icon in the Dock.

I assume the expected behaviour is to always set mouse visibility when the cursor leaves the window bounds (or keyboard focus is lost, e.g. alt-tabbing), as that's what I intuitively expect and it's also what happens in SDL 1.2.

I have only tested this in Mac OS 10.8.3.
Comment 1 (disabled) Jørgen Tjernø 2013-05-07 20:15:01 UTC
Should be fixed in http://hg.libsdl.org/SDL/rev/ff52fba70795