# HG changeset patch # User Richard M. Stallman # Date 767312503 0 # Node ID 34c94047f8f9247fe227c02211970e00e386eff9 # Parent a3bf30f1a4080da86c4bfe3e034fc2361999d011 (menu_bar_event): New event type. diff -r a3bf30f1a408 -r 34c94047f8f9 src/termhooks.h --- a/src/termhooks.h Mon Apr 25 22:16:08 1994 +0000 +++ b/src/termhooks.h Mon Apr 25 22:21:43 1994 +0000 @@ -247,7 +247,11 @@ 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 @@ /* 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. */