From 53888bf26b6c659db0b403454ee150c939ee456f Mon Sep 17 00:00:00 2001 From: Alexander Gramiak Date: Mon, 15 Apr 2019 18:45:06 -0600 Subject: * src/termhooks.h (terminal): Comment on expected terminal hooks --- src/termhooks.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/termhooks.h b/src/termhooks.h index ab1a701bef3..bd320c56d1d 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -502,6 +502,17 @@ struct terminal /* Multi-frame and mouse support hooks. */ + /* Graphical window systems are expected to define all of the + following hooks with the possible exception of: + + * query_colors + * activate_menubar_hook + * change_tool_bar_height_hook + * set_bitmap_icon_hook + * buffer_flipping_unblocked_hook + + */ + void (*query_frame_background_color) (struct frame *f, XColor *bgcolor); #if defined (HAVE_X_WINDOWS) || defined (HAVE_NTGUI) @@ -610,10 +621,8 @@ struct terminal Lisp_Object (*popup_dialog_hook) (struct frame *f, Lisp_Object header, Lisp_Object contents); -#ifndef HAVE_EXT_TOOL_BAR /* This hook is called to change the frame's (internal) tool-bar. */ void (*change_tool_bar_height_hook) (struct frame *f, int height); -#endif /* Scroll bar hooks. */ -- cgit v1.2.1