mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-05-17 20:11:17 +00:00
Do not minimize fullscreen window on focus loss
This commit is contained in:
parent
e03621a622
commit
d1bd5b3115
@ -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
|
// set the compositor hint to bypass for low latency
|
||||||
SDL_SysWMinfo wminfo;
|
SDL_SysWMinfo wminfo;
|
||||||
SDL_VERSION(&wminfo.version);
|
SDL_VERSION(&wminfo.version);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user