aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-12 21:43:15 +0000
committerRichard M. Stallman1996-01-12 21:43:15 +0000
commit46cfcdb4c2cb9dac07b47ff9ab27efab725c35d4 (patch)
tree3fe63f96de15497438a222fc1809c609f6cb5633 /src
parentb69863f29d2252585cfcc29add96d23deae7167d (diff)
downloademacs-46cfcdb4c2cb9dac07b47ff9ab27efab725c35d4.tar.gz
emacs-46cfcdb4c2cb9dac07b47ff9ab27efab725c35d4.zip
(struct input_event): Put frame_or_window last.
Diffstat (limited to 'src')
-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 {
278 int code; 278 int code;
279 enum scroll_bar_part part; 279 enum scroll_bar_part part;
280 280
281 int modifiers; /* See enum below for interpretation. */
282
283 Lisp_Object x, y;
284 unsigned long timestamp;
285
281 /* This field is copied into a vector while the event is in the queue, 286 /* This field is copied into a vector while the event is in the queue,
282 so that garbage collections won't kill it. */ 287 so that garbage collections won't kill it. */
283 /* In a menu_bar_event, this is a cons cell whose car is the frame 288 /* In a menu_bar_event, this is a cons cell whose car is the frame
284 and whose cdr is the Lisp object that is the event's value. */ 289 and whose cdr is the Lisp object that is the event's value. */
290 /* This field is last so that struct selection_input_event
291 does not overlap with it. */
285 Lisp_Object frame_or_window; 292 Lisp_Object frame_or_window;
286
287 int modifiers; /* See enum below for interpretation. */
288
289 Lisp_Object x, y;
290 unsigned long timestamp;
291}; 293};
292 294
293/* This is used in keyboard.c, to tell how many buttons we will need 295/* This is used in keyboard.c, to tell how many buttons we will need