Add option for disabling screensaver
PR #1502 <https://github.com/Genymobile/scrcpy/pull/1502> Fixes #1370 <https://github.com/Genymobile/scrcpy/issues/1370> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
1e4ee547b5
commit
dc7b60e619
@@ -43,6 +43,7 @@ struct scrcpy_options {
|
||||
bool mipmaps;
|
||||
bool stay_awake;
|
||||
bool force_adb_forward;
|
||||
bool disable_screensaver;
|
||||
};
|
||||
|
||||
#define SCRCPY_OPTIONS_DEFAULT { \
|
||||
@@ -81,6 +82,7 @@ struct scrcpy_options {
|
||||
.mipmaps = true, \
|
||||
.stay_awake = false, \
|
||||
.force_adb_forward = false, \
|
||||
.disable_screensaver = false, \
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user