Do not disable screensaver

Keep screensaver enabled while scrcpy is running.

Fixes <https://github.com/Genymobile/scrcpy/issues/380>.
master
Romain Vimont 7 years ago
parent b343a5dc59
commit d71e036f3a

@ -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;
} }

Loading…
Cancel
Save