mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-24 14:27:20 +00:00
[client] allow the screensaver to run
This commit is contained in:
parent
22238c3200
commit
97024041f3
@ -1073,7 +1073,10 @@ int run()
|
||||
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||
|
||||
if (!params.noScreensaver)
|
||||
{
|
||||
SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1");
|
||||
SDL_EnableScreenSaver();
|
||||
}
|
||||
|
||||
if (!params.center)
|
||||
SDL_SetWindowPosition(state.window, params.x, params.y);
|
||||
|
Loading…
Reference in New Issue
Block a user