Do not disable screensaver
Keep screensaver enabled while scrcpy is running. Fixes <https://github.com/Genymobile/scrcpy/issues/380>.
This commit is contained in:
parent
b343a5dc59
commit
d71e036f3a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue