Mercurial > emacs
changeset 14393:c977e0ae56b4
(struct input_event): New field `padding'.
Change `kind' field to an int.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 27 Jan 1996 18:30:30 +0000 |
parents | 127c6142a07a |
children | 289506921917 |
files | src/termhooks.h |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/termhooks.h Sat Jan 27 17:31:33 1996 +0000 +++ b/src/termhooks.h Sat Jan 27 18:30:30 1996 +0000 @@ -268,10 +268,11 @@ 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 @@ 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