2
0
mirror of https://github.com/Genymobile/scrcpy synced 2025-09-03 07:45:16 +00:00

Add option to start in fullscreen

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Philipp Sandhaus
2018-09-04 15:55:20 +02:00
committed by Romain Vimont
parent 34550311be
commit af9808cf02
3 changed files with 15 additions and 1 deletions

View File

@@ -223,6 +223,10 @@ SDL_bool scrcpy(const struct scrcpy_options *options) {
show_touches_waited = SDL_TRUE;
}
if (options->fullscreen) {
screen_switch_fullscreen(&screen);
}
ret = event_loop();
LOGD("quit...");