diff options
Diffstat (limited to 'src/keyboard.c')
| -rw-r--r-- | src/keyboard.c | 10 |
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) | |||
| 6910 | sigisheld (SIGIO); | 6910 | sigisheld (SIGIO); |
| 6911 | #endif | 6911 | #endif |
| 6912 | 6912 | ||
| 6913 | if (input_available_clear_time) | ||
| 6914 | EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0); | ||
| 6915 | |||
| 6916 | #ifdef SYNC_INPUT | 6913 | #ifdef SYNC_INPUT |
| 6917 | interrupt_input_pending = 1; | 6914 | interrupt_input_pending = 1; |
| 6918 | #else | 6915 | #else |
| 6919 | |||
| 6920 | SIGNAL_THREAD_CHECK (signo); | 6916 | SIGNAL_THREAD_CHECK (signo); |
| 6917 | #endif | ||
| 6918 | |||
| 6919 | if (input_available_clear_time) | ||
| 6920 | EMACS_SET_SECS_USECS (*input_available_clear_time, 0, 0); | ||
| 6921 | |||
| 6922 | #ifndef SYNC_INPUT | ||
| 6921 | handle_async_input (); | 6923 | handle_async_input (); |
| 6922 | #endif | 6924 | #endif |
| 6923 | 6925 | ||