I have a single window Mac OSX app. The user can click 'x' (windowShouldClose() fires) and then I will just order the window back (ie, not exit the app).
If I try to bring the app back by clicking it from the dock or via cmd-tab, it doesn't become active.
I'm assuming I need to explicitly make the window key/active when it's clicked from the doc.
If so, what's the message sent to the app once the user clicks on the app from the dock?