[client] always set the minimize on focus loss hint

This commit is contained in:
Geoffrey McRae 2020-11-28 10:16:11 +11:00
parent 4a823d0e4f
commit f36c674791

View File

@ -1492,8 +1492,8 @@ static int lg_run()
return 1; return 1;
} }
if (params.fullscreen && !params.minimizeOnFocusLoss) SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS,
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); params.minimizeOnFocusLoss ? "1" : "0");
if (!params.noScreensaver) if (!params.noScreensaver)
{ {