summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-25 22:21:43 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-25 22:21:43 +0000
commit8bf1c966091ed9df19c597bafc2639aa63f0b76a (patch)
tree690ec11794791f2d44637c1c3853a4c1147a179e /src/termhooks.h
parent5972e958532f8ac91f10bc92ad2886ffad5ad3e4 (diff)
downloademacs-8bf1c966091ed9df19c597bafc2639aa63f0b76a.tar.gz
(menu_bar_event): New event type.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 6d8c19ae441..5615d294175 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -247,7 +247,11 @@ enum event_kind
See `struct selection_event'. */
selection_clear_event, /* Another X client cleared our selection. */
buffer_switch_event, /* A process filter has switched buffers. */
- delete_window_event /* An X client said "delete this window". */
+ delete_window_event, /* An X client said "delete this window". */
+ menu_bar_event /* An event generated by the menu bar.
+ The frame_or_window field holds the
+ Lisp-level event value.
+ (Only the toolkit version uses these.) */
};
/* If a struct input_event has a kind which is selection_request_event
@@ -272,6 +276,8 @@ struct input_event {
/* 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 holds the Lisp object
+ that is the event's value. */
Lisp_Object frame_or_window;
int modifiers; /* See enum below for interpretation. */