changeset 14161:670721a540c8

(struct input_event): Put frame_or_window last.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Jan 1996 21:43:15 +0000
parents d85151c5699d
children 15ea2a83edae
files src/termhooks.h
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/termhooks.h	Fri Jan 12 21:23:05 1996 +0000
+++ b/src/termhooks.h	Fri Jan 12 21:43:15 1996 +0000
@@ -278,16 +278,18 @@
   int code;
   enum scroll_bar_part part;
 
+  int modifiers;		/* See enum below for interpretation.  */
+
+  Lisp_Object x, y;
+  unsigned long timestamp;
+
   /* This field is copied into a vector while the event is in the queue,
      so that garbage collections won't kill it.  */
   /* In a menu_bar_event, this is a cons cell whose car is the frame
      and whose cdr is the Lisp object that is the event's value.  */
+  /* This field is last so that struct selection_input_event
+     does not overlap with it.  */
   Lisp_Object frame_or_window;
-
-  int modifiers;		/* See enum below for interpretation.  */
-
-  Lisp_Object x, y;
-  unsigned long timestamp;
 };
 
 /* This is used in keyboard.c, to tell how many buttons we will need