From 4843a278ff4c24e14140cf54e1506975befc4be2 Mon Sep 17 00:00:00 2001 From: thejavascriptman Date: Wed, 13 Nov 2019 23:35:36 +0900 Subject: [PATCH] respect minimizeOnFocusLoss --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index a465e761..aa708f9d 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1152,7 +1152,7 @@ static int lg_run() return 1; } - if (params.fullscreen || !params.minimizeOnFocusLoss) + if (params.fullscreen && !params.minimizeOnFocusLoss) SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); if (!params.noScreensaver)