changeset 5018:14f3c98a5cc1

(XTread_socket): Increase length of copy_buffer to 81.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Nov 1993 06:30:31 +0000
parents 9c277d938ccd
children 8540ddfe3c1b
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Nov 15 06:29:24 1993 +0000
+++ b/src/xterm.c	Mon Nov 15 06:30:31 1993 +0000
@@ -1784,10 +1784,6 @@
 {
   FRAME_PTR f1;
 
-  /* If this isn't an X-window frame, quit now. */
-  if (!FRAME_X_P (*f))
-    return;
-
   BLOCK_INPUT;
 
   if (! NILP (last_mouse_scroll_bar))
@@ -2940,7 +2936,9 @@
 	  if (f != 0)
 	    {
 	      KeySym keysym, orig_keysym;
-	      unsigned char copy_buffer[80];
+	      /* al%imercury@uunet.uu.net says that making this 81 instead of
+		 80 fixed a bug whereby meta chars made his Emacs hang.  */
+	      unsigned char copy_buffer[81];
 	      int modifiers;
 
 	      event.xkey.state