Add option to turn device screen off

In addition to the shortcut (Ctrl+o) to turn the device screen off, add
a command-line argument to turn it off on start.
This commit is contained in:
Romain Vimont
2019-06-05 00:55:46 +02:00
parent 7f07b13446
commit 8e66b33000
4 changed files with 35 additions and 6 deletions

View File

@@ -18,6 +18,7 @@ struct scrcpy_options {
bool always_on_top;
bool control;
bool display;
bool turn_screen_off;
};
bool