Mercurial > emacs
changeset 83060:70063cb10ca9
Check for numchars > 0 in handle_one_xevent, not 1.
src/xterm.c (handle_one_xevent): Check for numchars > 0 in the
KeyPress case, not 1.
(XTread_socket): Revert previous change.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-100
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 26 Feb 2004 00:37:31 +0000 |
parents | af4a10a1bd55 |
children | bff8fa30c018 |
files | src/xterm.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Wed Feb 25 03:29:37 2004 +0000 +++ b/src/xterm.c Thu Feb 26 00:37:31 2004 +0000 @@ -6382,7 +6382,7 @@ orig_keysym = keysym; - if (numchars > 1) + if (numchars > 0) { Lisp_Object c; @@ -7209,12 +7209,6 @@ { int finish; - if (numchars <= 1) - { - /* The input buffer is full; read the rest next time. */ - break; - } - XNextEvent (dpyinfo->display, &event); #ifdef HAVE_X_I18N