Display and control your Android device
Catch CTRL_BREAK_EVENT signal on Windows
Filip Buda8057835a0d29
diff --git a/app/src/scrcpy.c b/app/src/scrcpy.cindex a4c8c340..aedfdf9c 100644--- a/app/src/scrcpy.c+++ b/app/src/scrcpy.c@@ -93,7 +93,7 @@ struct scrcpy {#ifdef _WIN32static BOOL WINAPI windows_ctrl_handler(DWORD ctrl_type) {- if (ctrl_type == CTRL_C_EVENT) {+ if (ctrl_type == CTRL_C_EVENT || ctrl_type == CTRL_BREAK_EVENT) {sc_push_event(SDL_QUIT);return TRUE;}