diff src/xterm.c @ 83059:af4a10a1bd55

Revert patch-93, that was the real culprit. Reapply patch-97. src/keyboard.c (read_avail_input): Don't BLOCK_INPUT. src/xterm.c (XTread_socket): Don't try to handle a new event if the input buffer is full. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-99
author Karoly Lorentey <lorentey@elte.hu>
date Wed, 25 Feb 2004 03:29:37 +0000
parents 19323b99ddcc
children 70063cb10ca9
line wrap: on
line diff
--- a/src/xterm.c	Wed Feb 25 03:16:45 2004 +0000
+++ b/src/xterm.c	Wed Feb 25 03:29:37 2004 +0000
@@ -7209,6 +7209,12 @@
 	{
           int finish;
 
+          if (numchars <= 1)
+            {
+              /* The input buffer is full; read the rest next time. */
+              break;
+            }
+
 	  XNextEvent (dpyinfo->display, &event);
 
 #ifdef HAVE_X_I18N