mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 22:14:20 +01:00
Do not disable screensaver
Keep screensaver enabled while scrcpy is running. Fixes <https://github.com/Genymobile/scrcpy/issues/380>.
This commit is contained in:
@@ -30,6 +30,9 @@ SDL_bool sdl_init_and_configure(void) {
|
||||
}
|
||||
#endif
|
||||
|
||||
// Do not disable the screensaver when scrcpy is running
|
||||
SDL_EnableScreenSaver();
|
||||
|
||||
return SDL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user