[Patch] Add support for parented message boxes on Windows so that they retain exclusive focus at all times

Hi there! I posted a patch the other day in the project’s Bugzilla. With the recent mailing list move I’m not totally sure about how to proceed here about patch submission. This one is pretty small, but I’m open to get it in shape as fast as possible for the upcoming SDL 2.0.6 release. It’s a small detail that improves general usability.

https://bugzilla.libsdl.org/show_bug.cgi?id=3650

@icculus @slouken

Just let me know.

1 Like

to get it in shape as fast as possible for the upcoming SDL 2.0.6 release.

Done, thanks!

I appreciate the responsiveness! I started looking into doing the same thing for the Linux/X11 version, but it looks like WM_TRANSIENT_FOR already takes care of it. So everything is now fine. :slight_smile:

https://hg.libsdl.org/SDL/file/5fde5f7e2912/src/video/x11/SDL_x11messagebox.c#l410

I don’t really have previous Cocoa/macOS/Objective-C experience, but everything seems to behave on that front too:

https://hg.libsdl.org/SDL/file/5fde5f7e2912/src/video/cocoa/SDL_cocoamessagebox.m#l59

1 Like