From f36c6747910c4912fc22efa9fe8c003693df97ee Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 28 Nov 2020 10:16:11 +1100 Subject: [PATCH] [client] always set the minimize on focus loss hint --- client/src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {