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 1970

Summary: Cocoa message boxes ignore parent window requests
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 Keywords: target-2.0.0
Version: HG 2.0   
Hardware: All   
OS: Mac OS X (All)   

Description Ryan C. Gordon 2013-07-14 00:07:24 UTC
Cocoa_ShowMessageBox() ignores the "window" field of SDL_MessageBoxData, which means you can't assign a parent window to a message box. This is particularly egregious on Mac OS X, because it'll actually make the NSAlert visually part of the parent window instead of just concerning itself with window focus.

--ryan.
Comment 1 Sam Lantinga 2013-07-14 13:33:34 UTC
I'm working on this now...
Comment 2 Sam Lantinga 2013-07-14 15:03:16 UTC
Fixed!
http://hg.libsdl.org/SDL/rev/8e6dfbc8ac6b