mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
[client] allow the screensaver to run
This commit is contained in:
parent
22238c3200
commit
97024041f3
2 changed files with 4 additions and 1 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B1-rc5-0-g780bb248f7+1
|
||||
B1-rc5-1-g22238c3200+1
|
|
@ -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 a new issue