SDL_MinimizeWindow OSX Problem


does anyone here also has problems with minimizing a fullscreen window (gl
context) on OSX? I have a visit-my-homepage-button in my game that
minimizes the window, and opens a url - this works perfectly on android,
windows, linux - but not on osx. The screen stays black - and the game
doesn’t respond anymore for a random time. Even the mouse input seems to be
broken after it recovered (wrong coordinates). The code is here:

Thanks for your help.–