diff --git a/client/src/main.c b/client/src/main.c index b3571099..f502b0fc 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1492,8 +1492,8 @@ static int lg_run() return 1; } - if (params.fullscreen && !params.minimizeOnFocusLoss) - SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); + SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, + params.minimizeOnFocusLoss ? "1" : "0"); if (!params.noScreensaver) {