summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 122a8e6b025..5c2fbf29cae 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -6910,14 +6910,16 @@ input_available_signal (signo)
sigisheld (SIGIO);
#endif
- if (input_available_clear_time)
- EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
-
#ifdef SYNC_INPUT
interrupt_input_pending = 1;
#else
-
SIGNAL_THREAD_CHECK (signo);
+#endif
+
+ if (input_available_clear_time)
+ EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0);
+
+#ifndef SYNC_INPUT
handle_async_input ();
#endif