Skip to content

Display and control your Android device

Fix boolean assignment

Romain Vimont988174805c19
diff --git a/app/src/cli.c b/app/src/cli.c
index fa46c4e4..cd0fa1c5 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -2706,7 +2706,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
opts->angle = optarg;
break;
case OPT_NO_VD_SYSTEM_DECORATIONS:
- opts->vd_system_decorations = optarg;
+ opts->vd_system_decorations = false;
break;
default:
// getopt prints the error message on stderr