Skip to content

Display and control your Android device

Reenable custom SDL signal handlers

Romain Vimontd0e090e1f92f
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c
index 1f10b676..766c26f2 100644
--- a/app/src/scrcpy.c
+++ b/app/src/scrcpy.c
@@ -155,10 +155,6 @@ SDL_bool scrcpy(const struct scrcpy_options *options) {
SDL_bool ret = SDL_TRUE;
- if (!SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1")) {
- LOGW("Cannot request to keep default signal handlers");
- }
-
if (!sdl_init_and_configure()) {
ret = SDL_FALSE;
goto finally_destroy_server;