summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-12 21:43:15 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-12 21:43:15 +0000
commitd5f9a1d1d5cdebf87828a593e2dfbf4dbd6f9317 (patch)
tree25fce024061be51f50d09418a04cce1eafdf519e /src/termhooks.h
parenta7c78f1daa86b0cbabceadb2ef9d83b87d108d7a (diff)
downloademacs-d5f9a1d1d5cdebf87828a593e2dfbf4dbd6f9317.tar.gz
(struct input_event): Put frame_or_window last.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 773bcda3309..de8d6f83b34 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -278,16 +278,18 @@ struct input_event {
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