Do not disable screensaver

Keep screensaver enabled while scrcpy is running.

Fixes <https://github.com/Genymobile/scrcpy/issues/380>.
This commit is contained in:
Romain Vimont 2019-01-18 23:17:31 +01:00
parent b343a5dc59
commit d71e036f3a

View file

@ -30,6 +30,9 @@ SDL_bool sdl_init_and_configure(void) {
} }
#endif #endif
// Do not disable the screensaver when scrcpy is running
SDL_EnableScreenSaver();
return SDL_TRUE; return SDL_TRUE;
} }