Commit f879067d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(struct input_event): New field `padding'.

Change `kind' field to an int.
parent b312cc52
......@@ -268,10 +268,11 @@ enum event_kind
a window system event. These get turned into their lispy forms when
they are removed from the event queue. */
struct input_event {
struct input_event
/* What kind of event was this? */
enum event_kind kind;
int kind;
/* For an ascii_keystroke, this is the character.
For a non_ascii_keystroke, this is the keysym code.
......@@ -284,6 +285,10 @@ struct input_event {
Lisp_Object x, y;
unsigned long timestamp;
/* This is padding just to put the frame_or_window field
past the size of struct selection_event. */
int *padding[2];
/* 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment