diff options
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index f1827128f19..4830a85d31b 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -194,6 +194,11 @@ enum event_kind | |||
| 194 | the help to show. */ | 194 | the help to show. */ |
| 195 | HELP_EVENT, | 195 | HELP_EVENT, |
| 196 | 196 | ||
| 197 | /* An event from a tab-bar. Member `arg' of the input event | ||
| 198 | contains the tab-bar item selected. If `frame_or_window' | ||
| 199 | and `arg' are equal, this is a prefix event. */ | ||
| 200 | TAB_BAR_EVENT, | ||
| 201 | |||
| 197 | /* An event from a tool-bar. Member `arg' of the input event | 202 | /* An event from a tool-bar. Member `arg' of the input event |
| 198 | contains the tool-bar item selected. If `frame_or_window' | 203 | contains the tool-bar item selected. If `frame_or_window' |
| 199 | and `arg' are equal, this is a prefix event. */ | 204 | and `arg' are equal, this is a prefix event. */ |
| @@ -624,6 +629,9 @@ struct terminal | |||
| 624 | Lisp_Object (*popup_dialog_hook) (struct frame *f, Lisp_Object header, | 629 | Lisp_Object (*popup_dialog_hook) (struct frame *f, Lisp_Object header, |
| 625 | Lisp_Object contents); | 630 | Lisp_Object contents); |
| 626 | 631 | ||
| 632 | /* This hook is called to change the frame's (internal) tab-bar. */ | ||
| 633 | void (*change_tab_bar_height_hook) (struct frame *f, int height); | ||
| 634 | |||
| 627 | /* This hook is called to change the frame's (internal) tool-bar. */ | 635 | /* This hook is called to change the frame's (internal) tool-bar. */ |
| 628 | void (*change_tool_bar_height_hook) (struct frame *f, int height); | 636 | void (*change_tool_bar_height_hook) (struct frame *f, int height); |
| 629 | 637 | ||