]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct input_event): `code' is now an int.
authorRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 00:54:23 +0000 (00:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 23 Dec 1993 00:54:23 +0000 (00:54 +0000)
src/termhooks.h

index 06770c348eb06857146db0996e5e32046215b464..d9abb3e72ceec3289f5ec90bcf26ae7542155b37 100644 (file)
@@ -259,7 +259,10 @@ struct input_event {
   /* What kind of event was this?  */
   enum event_kind kind;
   
-  Lisp_Object code;
+  /* For an ascii_keystroke, this is the character.
+     For a non_ascii_keystroke, this is the keysym code.
+     For a mouse event, this is the button number.
+  int code;
   enum scroll_bar_part part;
 
   /* This field is copied into a vector while the event is in the queue,