Skip to content

Commit

Permalink
- add SDL hint to not minimize the window on focus loss
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle authored and coelckers committed Nov 19, 2021
1 parent 4db7a20 commit 312b5ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/platform/posix/sdl/hardware.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit 312b5ce

Please sign in to comment.