From 8ef4c044fa476dc40e20ac8d3045c0de41371a7c Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Tue, 13 Apr 2021 22:17:46 +0200 Subject: [PATCH] Do not forward SDL_DROPFILE event The event is handled by scrcpy.c, it is not necessary to send it to screen or input_manager. --- app/src/scrcpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c index 7d47d016..388bb73d 100644 --- a/app/src/scrcpy.c +++ b/app/src/scrcpy.c @@ -167,7 +167,7 @@ handle_event(SDL_Event *event, const struct scrcpy_options *options) { action = ACTION_PUSH_FILE; } file_handler_request(&file_handler, action, file); - break; + goto end; } }