]> code.delx.au - gnu-emacs/blobdiff - src/termhooks.h
(HAVE_RANDOM, HAVE_XSCREENNUMBEROFSCREEN, BROKEN_FIONREAD): Add definitions.
[gnu-emacs] / src / termhooks.h
index f2c9476161a750ddbfc8c54db612748b4f07e9ff..06770c348eb06857146db0996e5e32046215b464 100644 (file)
@@ -194,12 +194,13 @@ enum event_kind
 {
   no_event,                    /* nothing happened.  This should never
                                   actually appear in the event queue.  */
-  ascii_keystroke,             /* The ASCII code is in .code.
+
+  ascii_keystroke,             /* The ASCII code is in .code, perhaps
+                                  with modifiers applied.
+                                  .modifiers holds the state of the
+                                  modifier keys.
                                   .frame_or_window is the frame in
                                   which the key was typed.
-                                  Note that this includes meta-keys, and
-                                  the modifiers field of the event
-                                  is unused.
                                   .timestamp gives a timestamp (in
                                   milliseconds) for the keystroke.  */
   non_ascii_keystroke,         /* .code is a number identifying the
@@ -240,7 +241,8 @@ enum event_kind
                                   milliseconds) for the click.  */
   selection_request_event,     /* Another X client wants a selection from us.
                                   See `struct selection_event'.  */
-  selection_clear_event                /* Another X client cleared our selection.  */
+  selection_clear_event,       /* Another X client cleared our selection.  */
+  delete_window_event          /* An X client said "delete this window".  */
 };
 
 /* If a struct input_event has a kind which is selection_request_event