aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 945019e8418..77af44a7d46 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3663,8 +3663,7 @@ kbd_buffer_store_event_hold (register struct input_event *event,
3663 /* Don't read keyboard input until we have processed kbd_buffer. 3663 /* Don't read keyboard input until we have processed kbd_buffer.
3664 This happens when pasting text longer than KBD_BUFFER_SIZE/2. */ 3664 This happens when pasting text longer than KBD_BUFFER_SIZE/2. */
3665 hold_keyboard_input (); 3665 hold_keyboard_input ();
3666 if (!noninteractive) 3666 unrequest_sigio ();
3667 ignore_sigio ();
3668 stop_polling (); 3667 stop_polling ();
3669 } 3668 }
3670#endif /* subprocesses */ 3669#endif /* subprocesses */
@@ -3829,6 +3828,7 @@ kbd_buffer_get_event (KBOARD **kbp,
3829 /* Start reading input again because we have processed enough to 3828 /* Start reading input again because we have processed enough to
3830 be able to accept new events again. */ 3829 be able to accept new events again. */
3831 unhold_keyboard_input (); 3830 unhold_keyboard_input ();
3831 request_sigio ();
3832 start_polling (); 3832 start_polling ();
3833 } 3833 }
3834#endif /* subprocesses */ 3834#endif /* subprocesses */