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 492

Summary: SDL_WM_IconifyWindow() returns 1 even if it fails
Product: SDL Reporter: Tony J. White <tjw>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: PowerPC   
OS: Mac OS X (All)   
Attachments: svn3449 fix SDL_WM_IconifyWindow() on Mac OS X

Description Tony J. White 2007-09-17 19:59:48 UTC
SDL_WM_IconifyWindow() returns 1 on Mac OS X even if miniaturize fails.  Unfortunately trying to call SDL_WM_IconifyWindow() on a fullscreen window always fails, so it is pretty easy to do.

attached patch tests for success before returning 1.
Comment 1 Tony J. White 2007-09-17 20:01:00 UTC
Created attachment 233 [details]
svn3449 fix SDL_WM_IconifyWindow() on Mac OS X
Comment 2 Sam Lantinga 2007-12-29 12:28:47 UTC
This is fixed with revision 3494.  Thanks!