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 - SDL_WM_IconifyWindow() returns 1 even if it fails
Summary: SDL_WM_IconifyWindow() returns 1 even if it fails
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: PowerPC Mac OS X (All)
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 19:59 UTC by Tony J. White
Modified: 2007-12-29 12:28 UTC (History)
0 users

See Also:


Attachments
svn3449 fix SDL_WM_IconifyWindow() on Mac OS X (489 bytes, patch)
2007-09-17 20:01 UTC, Tony J. White
Details | Diff

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