changeset 8354:df850e171c61

(wait_reading_process_input): If wait_for_cell, do check for keyboard input and handle it.
author Richard M. Stallman <rms@gnu.org>
date Wed, 27 Jul 1994 00:12:59 +0000
parents 525e990ca9d2
children 79494e6dc198
files src/process.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Jul 27 00:12:34 1994 +0000
+++ b/src/process.c	Wed Jul 27 00:12:59 1994 +0000
@@ -1950,10 +1950,7 @@
       /* Wait till there is something to do */
 
       Available = input_wait_mask;
-      /* We used to have  && wait_for_cell == 0
-	 but that led to lossage handling selection_request events:
-	 within one, we would start to handle another.  */
-      if (! XINT (read_kbd))
+      if (! XINT (read_kbd) || wait_for_cell != 0)
 	FD_CLR (keyboard_descriptor, &Available);
 
       /* If frame size has changed or the window is newly mapped,