diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-12-12 08:04:35 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-12-12 08:04:35 +0400 |
commit | 9654230233e49cf93e6a8f38685e4b809f02789e (patch) | |
tree | 395daadf5e366adcf59864c230fa0c39985bd22e /src/keyboard.c | |
parent | f54de22e65df1f0f0345efce4d6fd3487d0f7bb5 (diff) | |
download | emacs-9654230233e49cf93e6a8f38685e4b809f02789e.tar.gz |
* xterm.c (x_make_frame_visible): Restore hack which is needed when
input polling is used. This is still meaningful for Cygwin, see
http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00351.html.
* keyboard.c (poll_for_input_1, input_polling_used): Define
unconditionally.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 913a277ca79..915ce9dcf23 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1954,7 +1954,6 @@ int poll_suppress_count; static struct atimer *poll_timer; -#ifdef HAVE_NTGUI /* Poll for input, so that we catch a C-g if it comes in. */ void poll_for_input_1 (void) @@ -1963,7 +1962,6 @@ poll_for_input_1 (void) && !waiting_for_input) gobble_input (); } -#endif /* Timer callback function for poll_timer. TIMER is equal to poll_timer. */ @@ -2015,8 +2013,6 @@ start_polling (void) #endif } -#ifdef HAVE_NTGUI - /* True if we are using polling to handle input asynchronously. */ bool @@ -2031,7 +2027,6 @@ input_polling_used (void) return 0; #endif } -#endif /* Turn off polling. */ |