diff --git a/app/src/scrcpy.c b/app/src/scrcpy.c index a4c8c340..aedfdf9c 100644 --- a/app/src/scrcpy.c +++ b/app/src/scrcpy.c @@ -93,7 +93,7 @@ struct scrcpy { #ifdef _WIN32 static 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; }