Support power off on close

PR #824 <https://github.com/Genymobile/scrcpy/pull/824>

Signed-off-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Yu-Chen Lin
2021-02-21 08:42:04 +08:00
committed by Romain Vimont
parent fb0bcaebc2
commit 1d615a0d51
8 changed files with 40 additions and 10 deletions

View File

@@ -46,6 +46,7 @@ struct server_params {
bool show_touches;
bool stay_awake;
bool force_adb_forward;
bool power_off_on_close;
};
// init default values