aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-27 18:30:30 +0000
committerRichard M. Stallman1996-01-27 18:30:30 +0000
commitf879067d7328164bf495c4fd949d26d11ca0cdae (patch)
tree1b439503ea0cad46d721ea136d500619ae49d01d /src/termhooks.h
parentb312cc52b3c8ae407555836cf2da2863ba372d33 (diff)
downloademacs-f879067d7328164bf495c4fd949d26d11ca0cdae.tar.gz
emacs-f879067d7328164bf495c4fd949d26d11ca0cdae.zip
(struct input_event): New field `padding'.
Change `kind' field to an int.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h9
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
268 a window system event. These get turned into their lispy forms when 268 a window system event. These get turned into their lispy forms when
269 they are removed from the event queue. */ 269 they are removed from the event queue. */
270 270
271struct input_event { 271struct input_event
272{
272 273
273 /* What kind of event was this? */ 274 /* What kind of event was this? */
274 enum event_kind kind; 275 int kind;
275 276
276 /* For an ascii_keystroke, this is the character. 277 /* For an ascii_keystroke, this is the character.
277 For a non_ascii_keystroke, this is the keysym code. 278 For a non_ascii_keystroke, this is the keysym code.
@@ -284,6 +285,10 @@ struct input_event {
284 Lisp_Object x, y; 285 Lisp_Object x, y;
285 unsigned long timestamp; 286 unsigned long timestamp;
286 287
288 /* This is padding just to put the frame_or_window field
289 past the size of struct selection_event. */
290 int *padding[2];
291
287 /* This field is copied into a vector while the event is in the queue, 292 /* This field is copied into a vector while the event is in the queue,
288 so that garbage collections won't kill it. */ 293 so that garbage collections won't kill it. */
289 /* In a menu_bar_event, this is a cons cell whose car is the frame 294 /* In a menu_bar_event, this is a cons cell whose car is the frame