X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8d59c5ed4480037bcc953bd28a9165990fdd002e..07a1e794413237cc72419a965ad88f0592a69e9c:/src/w32inevt.c diff --git a/src/w32inevt.c b/src/w32inevt.c index 7932990061..7552ff17bb 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -1,6 +1,6 @@ /* Input event support for Emacs on the Microsoft W32 API. Copyright (C) 1992, 1993, 1995, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008 Free Software Foundation, Inc. + 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -38,6 +38,7 @@ along with GNU Emacs. If not, see . */ #include "lisp.h" #include "keyboard.h" #include "frame.h" +#include "dispextern.h" #include "blockinput.h" #include "termhooks.h" #include "w32heap.h" @@ -650,10 +651,16 @@ w32_console_read_socket (struct terminal *terminal, if (interrupt_input_blocked) { interrupt_input_pending = 1; +#ifdef SYNC_INPUT + pending_signals = 1; +#endif return -1; } interrupt_input_pending = 0; +#ifdef SYNC_INPUT + pending_signals = pending_atimers; +#endif BLOCK_INPUT; for (;;)