Skip to content

Display and control your Android device

Fix file drop handling with --no-video

Romain Vimonta9de53f0cb02
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c
index acf8d475..cd6f9a16 100644
--- a/app/src/scrcpy.c
+++ b/app/src/scrcpy.c
@@ -564,7 +564,7 @@ scrcpy(struct scrcpy_options *options) {
struct sc_file_pusher *fp = NULL;
- if (options->video_playback && options->control) {
+ if (options->window && options->control) {
if (!sc_file_pusher_init(&s->file_pusher, serial,
options->push_target)) {
goto end;