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
|
#endif
|
||||||
|
|
||||||
|
// Do not disable the screensaver when scrcpy is running
|
||||||
|
SDL_EnableScreenSaver();
|
||||||
|
|
||||||
return SDL_TRUE;
|
return SDL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user