diff --git a/Sources/Gui/SDLRunner.cpp b/Sources/Gui/SDLRunner.cpp index 356808da5..d0a0dc1cd 100644 --- a/Sources/Gui/SDLRunner.cpp +++ b/Sources/Gui/SDLRunner.cpp @@ -522,6 +522,8 @@ namespace spades { if (vsync != 0 && SDL_GL_SetSwapInterval(vsync) != 0) { SPRaise("SDL_GL_SetSwapInterval failed: %s", SDL_GetError()); } + } else { + SDL_SetHint("SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS", "0"); } #endif