comparison src/termhooks.h @ 90261:7beb78bc1f8e

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97 Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 616-696) - Add lisp/mh-e/.arch-inventory - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords. - lisp/gnus/ChangeLog: Remove duplicate entry * gnus--rel--5.10 (patch 147-181) - Update from CVS - Merge from emacs--cvs-trunk--0 - Update from CVS: lisp/mml.el (mml-preview): Doc fix. - Update from CVS: texi/message.texi: Fix default values. - Update from CVS: texi/gnus.texi (RSS): Addition.
author Miles Bader <miles@gnu.org>
date Mon, 16 Jan 2006 08:37:27 +0000
parents 2d92f5c9d6ae 8926adaaf30f
children c5406394f567
comparison
equal deleted inserted replaced
90260:0ca0d9181b5e 90261:7beb78bc1f8e
276 #ifdef WINDOWSNT 276 #ifdef WINDOWSNT
277 W32_SCROLL_BAR_CLICK_EVENT, /* as for SCROLL_BAR_CLICK, but only generated 277 W32_SCROLL_BAR_CLICK_EVENT, /* as for SCROLL_BAR_CLICK, but only generated
278 by MS-Windows scroll bar controls. */ 278 by MS-Windows scroll bar controls. */
279 #endif 279 #endif
280 SELECTION_REQUEST_EVENT, /* Another X client wants a selection from us. 280 SELECTION_REQUEST_EVENT, /* Another X client wants a selection from us.
281 See `struct selection_event'. */ 281 See `struct selection_input_event'. */
282 SELECTION_CLEAR_EVENT, /* Another X client cleared our selection. */ 282 SELECTION_CLEAR_EVENT, /* Another X client cleared our selection. */
283 BUFFER_SWITCH_EVENT, /* A process filter has switched buffers. */ 283 BUFFER_SWITCH_EVENT, /* A process filter has switched buffers. */
284 DELETE_WINDOW_EVENT, /* An X client said "delete this window". */ 284 DELETE_WINDOW_EVENT, /* An X client said "delete this window". */
285 MENU_BAR_EVENT, /* An event generated by the menu bar. 285 MENU_BAR_EVENT, /* An event generated by the menu bar.
286 The frame_or_window field's cdr holds the 286 The frame_or_window field's cdr holds the
291 MENU_BAR_ACTIVATE_EVENT, /* A button press in the menu bar 291 MENU_BAR_ACTIVATE_EVENT, /* A button press in the menu bar
292 (toolkit version only). */ 292 (toolkit version only). */
293 DRAG_N_DROP_EVENT, /* A drag-n-drop event is generated when 293 DRAG_N_DROP_EVENT, /* A drag-n-drop event is generated when
294 files selected outside of Emacs are dropped 294 files selected outside of Emacs are dropped
295 onto an Emacs window. 295 onto an Emacs window.
296 Currently used only on Windows NT.
297 .modifiers holds the state of the 296 .modifiers holds the state of the
298 modifier keys. 297 modifier keys.
299 .x and .y give the mouse position, 298 .x and .y give the mouse position,
300 in characters, within the window. 299 in characters, within the window.
301 .frame_or_window is a cons of the frame 300 .frame_or_window is the frame in
302 in which the drop was made and a list of 301 which the drop was made.
303 the filenames of the dropped files. 302 .arg is a platform-dependent
303 representation of the dropped items.
304 .timestamp gives a timestamp (in 304 .timestamp gives a timestamp (in
305 milliseconds) for the click. */ 305 milliseconds) for the click. */
306 USER_SIGNAL_EVENT, /* A user signal. 306 USER_SIGNAL_EVENT, /* A user signal.
307 code is a number identifying it, 307 code is a number identifying it,
308 index into lispy_user_signals. */ 308 index into lispy_user_signals. */
324 /* Generated when mouse moves over window not currently selected. */ 324 /* Generated when mouse moves over window not currently selected. */
325 SELECT_WINDOW_EVENT, 325 SELECT_WINDOW_EVENT,
326 326
327 /* Queued from XTread_socket when session manager sends 327 /* Queued from XTread_socket when session manager sends
328 save yourself before shutdown. */ 328 save yourself before shutdown. */
329 SAVE_SESSION_EVENT 329 SAVE_SESSION_EVENT,
330
331 #ifdef MAC_OS
332 /* Generated when an Apple event, a HICommand event, or a Services
333 menu event is received and the corresponding handler is
334 registered. Members `x' and `y' are for the event class and ID
335 symbols, respectively. Member `code' points to the Apple event
336 descriptor. Parameters for Non-Apple events are converted to
337 those in Apple events. */
338 MAC_APPLE_EVENT
339 #endif
330 }; 340 };
331 341
332 /* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT 342 /* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT
333 or SELECTION_CLEAR_EVENT, then its contents are really described 343 or SELECTION_CLEAR_EVENT, then its contents are really described
334 by `struct selection_event'; see xterm.h. */ 344 by `struct selection_input_event'; see xterm.h. */
335 345
336 /* The keyboard input buffer is an array of these structures. Each one 346 /* The keyboard input buffer is an array of these structures. Each one
337 represents some sort of input event - a keystroke, a mouse click, or 347 represents some sort of input event - a keystroke, a mouse click, or
338 a window system event. These get turned into their lispy forms when 348 a window system event. These get turned into their lispy forms when
339 they are removed from the event queue. */ 349 they are removed from the event queue. */
355 365
356 Lisp_Object x, y; 366 Lisp_Object x, y;
357 unsigned long timestamp; 367 unsigned long timestamp;
358 368
359 /* This is padding just to put the frame_or_window field 369 /* This is padding just to put the frame_or_window field
360 past the size of struct selection_event. */ 370 past the size of struct selection_input_event. */
361 int *padding[2]; 371 int *padding[2];
362 372
363 /* This field is copied into a vector while the event is in the queue, 373 /* This field is copied into a vector while the event is in the queue,
364 so that garbage collections won't kill it. */ 374 so that garbage collections won't kill it. */
365 /* In a menu_bar_event, this is a cons cell whose car is the frame 375 /* In a menu_bar_event, this is a cons cell whose car is the frame