diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-01-27 18:30:30 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-01-27 18:30:30 +0000 |
commit | 617ba936d0306091f4bd544078e7b0283f5e4a65 (patch) | |
tree | d9a2ea7328143edf12e5325d3143afc1ab23d16d | |
parent | 2bc42cffd072fd47a7806363ce305dea6137e9c7 (diff) | |
download | emacs-617ba936d0306091f4bd544078e7b0283f5e4a65.tar.gz |
(struct input_event): New field `padding'.
Change `kind' field to an int.
-rw-r--r-- | src/termhooks.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 4d8c6ff772e..314129c209e 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -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 |