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 - Cocoa message boxes ignore parent window requests
Summary: Cocoa message boxes ignore parent window requests
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All Mac OS X (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-2.0.0
Depends on:
Blocks:
 
Reported: 2013-07-14 00:07 UTC by Ryan C. Gordon
Modified: 2013-07-14 15:03 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 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