diff --git a/client/main.c b/client/main.c index 3af87220..2de22bf4 100644 --- a/client/main.c +++ b/client/main.c @@ -676,6 +676,11 @@ int run() ) ); + if (params.fullscreen) + { + SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0"); + } + // set the compositor hint to bypass for low latency SDL_SysWMinfo wminfo; SDL_VERSION(&wminfo.version);