changeset 2016:02792f3b7336

(XTread_socket): Set bufp->modifiers for all kinds of keys.
author Richard M. Stallman <rms@gnu.org>
date Fri, 05 Mar 1993 23:56:13 +0000
parents 4fe063d2aecf
children ffa43acb7de7
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Mar 05 23:55:44 1993 +0000
+++ b/src/xterm.c	Fri Mar 05 23:56:13 1993 +0000
@@ -2741,11 +2741,10 @@
 
 		      if (nbytes == 1)
 			{
-			  if (modifiers & x_meta_mod_mask)
-			    *copy_buffer |= METABIT;
 			  bufp->kind = ascii_keystroke;
 			  XSET (bufp->code, Lisp_Int, *copy_buffer);
 			  XSET (bufp->frame_or_window, Lisp_Frame, f);
+			  bufp->modifiers = x_convert_modifiers (modifiers);
 			  bufp->timestamp = event.xkey.time;
 			  bufp++;
 			}
@@ -2755,6 +2754,7 @@
 			    bufp->kind = ascii_keystroke;
 			    XSET (bufp->code, Lisp_Int, copy_buffer[i]);
 			    XSET (bufp->frame_or_window, Lisp_Frame, f);
+			    bufp->modifiers = x_convert_modifiers (modifiers);
 			    bufp->timestamp = event.xkey.time;
 			    bufp++;
 			  }