Skip to content
Permalink
Browse files

respect minimizeOnFocusLoss

  • Loading branch information...
thejavascriptman authored and gnif committed Nov 13, 2019
1 parent fe7d611 commit 4843a278ff4c24e14140cf54e1506975befc4be2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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)

0 comments on commit 4843a27

Please sign in to comment.
You can’t perform that action at this time.