Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
83058:19323b99ddcc | 83059:af4a10a1bd55 |
---|---|
7206 | 7206 |
7207 #ifndef USE_GTK | 7207 #ifndef USE_GTK |
7208 while (XPending (dpyinfo->display)) | 7208 while (XPending (dpyinfo->display)) |
7209 { | 7209 { |
7210 int finish; | 7210 int finish; |
7211 | |
7212 if (numchars <= 1) | |
7213 { | |
7214 /* The input buffer is full; read the rest next time. */ | |
7215 break; | |
7216 } | |
7211 | 7217 |
7212 XNextEvent (dpyinfo->display, &event); | 7218 XNextEvent (dpyinfo->display, &event); |
7213 | 7219 |
7214 #ifdef HAVE_X_I18N | 7220 #ifdef HAVE_X_I18N |
7215 /* Filter events for the current X input method. */ | 7221 /* Filter events for the current X input method. */ |