comparison src/termhooks.h @ 14161:670721a540c8

(struct input_event): Put frame_or_window last.
author Richard M. Stallman <rms@gnu.org>
date Fri, 12 Jan 1996 21:43:15 +0000
parents 6ef59cdffc90
children ee40177f6c68
comparison
equal deleted inserted replaced
14160:d85151c5699d 14161:670721a540c8
276 For a non_ascii_keystroke, this is the keysym code. 276 For a non_ascii_keystroke, this is the keysym code.
277 For a mouse event, this is the button number. */ 277 For a mouse event, this is the button number. */
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
294 to track the positions of. */ 296 to track the positions of. */
295 #define NUM_MOUSE_BUTTONS (5) 297 #define NUM_MOUSE_BUTTONS (5)