- add SDL hint to not minimize the window on focus loss

This commit is contained in:
Rachael Alexanderson 2021-10-27 10:48:22 -04:00 committed by Christoph Oelckers
parent 4db7a20f7a
commit 312b5ce66e

View file

@ -67,6 +67,7 @@ void I_InitGraphics ()
#ifdef __APPLE__
SDL_SetHint(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, "0");
#endif // __APPLE__
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
{