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 - Mac: Moving a hidden cursor out of the window doesn't un-hide it
Summary: Mac: Moving a hidden cursor out of the window doesn't un-hide it
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: x86 Mac OS X 10.7
: P2 normal
Assignee: (disabled) Jørgen Tjernø
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 22:22 UTC by Alex Szpakowski
Modified: 2013-05-07 20:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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