diff options
| author | Richard M. Stallman | 1994-04-25 22:21:43 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-25 22:21:43 +0000 |
| commit | 765a05bceff73b019fe749453e7df8d1c42cb6a4 (patch) | |
| tree | 0266d680680e834a9d9672860e6bd7a678de0c21 | |
| parent | cf074754341dbf139b908608012132c3fd020a8a (diff) | |
| download | emacs-765a05bceff73b019fe749453e7df8d1c42cb6a4.tar.gz emacs-765a05bceff73b019fe749453e7df8d1c42cb6a4.zip | |
(menu_bar_event): New event type.
| -rw-r--r-- | src/termhooks.h | 8 |
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 | |||
| 247 | See `struct selection_event'. */ | 247 | See `struct selection_event'. */ |
| 248 | selection_clear_event, /* Another X client cleared our selection. */ | 248 | selection_clear_event, /* Another X client cleared our selection. */ |
| 249 | buffer_switch_event, /* A process filter has switched buffers. */ | 249 | buffer_switch_event, /* A process filter has switched buffers. */ |
| 250 | delete_window_event /* An X client said "delete this window". */ | 250 | delete_window_event, /* An X client said "delete this window". */ |
| 251 | menu_bar_event /* An event generated by the menu bar. | ||
| 252 | The frame_or_window field holds the | ||
| 253 | Lisp-level event value. | ||
| 254 | (Only the toolkit version uses these.) */ | ||
| 251 | }; | 255 | }; |
| 252 | 256 | ||
| 253 | /* If a struct input_event has a kind which is selection_request_event | 257 | /* If a struct input_event has a kind which is selection_request_event |
| @@ -272,6 +276,8 @@ struct input_event { | |||
| 272 | 276 | ||
| 273 | /* This field is copied into a vector while the event is in the queue, | 277 | /* This field is copied into a vector while the event is in the queue, |
| 274 | so that garbage collections won't kill it. */ | 278 | so that garbage collections won't kill it. */ |
| 279 | /* In a menu_bar_event, this holds the Lisp object | ||
| 280 | that is the event's value. */ | ||
| 275 | Lisp_Object frame_or_window; | 281 | Lisp_Object frame_or_window; |
| 276 | 282 | ||
| 277 | int modifiers; /* See enum below for interpretation. */ | 283 | int modifiers; /* See enum below for interpretation. */ |