- 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
parent d853961a83
commit 0bf211b3e6

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)
{