You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: HG 2.0 Reported for operating system, platform: All, All
Comments on the original bug report:
On 2013-04-11 20:24:48 +0000, Alex Szpakowski wrote:
Created attachment 1108
Patch to add SDL_GetDefaultCursor to SDL_mouse
Currently there is no way to get the default mouse cursor, even though it's always stored internally.
There is often reason for switching back to the default after using a custom cursor for a short time, and while it's possible to manually save the default cursor by calling SDL_GetCursor() before any SDL_SetCursor is called, it's not particularly intuitive and makes for slightly messier code.
Adding SDL_GetDefaultCursor is trivial and makes the API more complete in my eyes. Calling SDL_FreeCursor on the default cursor is already handled as an early return by SDL_FreeCursor, so that's not an issue.
I've attached a diff patch to add the function.
On 2013-04-24 13:51:32 +0000, (disabled) Jørgen Tjernø wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2013-04-11 20:24:48 +0000, Alex Szpakowski wrote:
On 2013-04-24 13:51:32 +0000, (disabled) Jørgen Tjernø wrote:
The text was updated successfully, but these errors were encountered: