respect minimizeOnFocusLoss

This commit is contained in:
thejavascriptman 2019-11-13 23:35:36 +09:00 committed by Geoffrey McRae
parent fe7d611fb9
commit 4843a278ff

View File

@ -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)