From 53d6080399e89a52b6700c33adc3fbcf3ee0701d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 15 May 1998 20:53:53 +0000 Subject: [PATCH] (w32_wnd_proc): Call signal_quit when C-g is received. --- src/w32fns.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/w32fns.c b/src/w32fns.c index 20833978926..7850e20eba1 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -3408,7 +3408,10 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) /* The choice of message is somewhat arbitrary, as long as the main thread handler just ignores it. */ - msg = WM_QUIT; + msg = WM_NULL; + + /* Interrupt any blocking system calls. */ + signal_quit (); } } #endif -- 2.39.2