aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorJuri Linkov2019-10-01 23:15:03 +0300
committerJuri Linkov2019-10-01 23:15:03 +0300
commit2698d3dba2e9858b026ed127d4de3f86810a5ef3 (patch)
tree8e9b8f194cfcad8af83a4174a0105bbc691f06d6 /src/termhooks.h
parent25f45d710e91a7c1049f056ff27bc3e6968f5624 (diff)
parent3f981a0a89bca47a207fb362485f07e7322bb145 (diff)
downloademacs-2698d3dba2e9858b026ed127d4de3f86810a5ef3.tar.gz
emacs-2698d3dba2e9858b026ed127d4de3f86810a5ef3.zip
Merge branch 'feature/tabs'
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h8
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