respect minimizeOnFocusLoss

This commit is contained in:
thejavascriptman authored and Geoffrey McRae committed 2019-11-15 18:13:11 +11:00
1 parent fe7d611fb9
commit 4843a278ff
1 file changed
+1 -1
+1 -1
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)