diff options
author | Alexander Gramiak <agrambot@gmail.com> | 2019-04-15 18:45:06 -0600 |
---|---|---|
committer | Alexander Gramiak <agrambot@gmail.com> | 2019-04-16 10:44:00 -0600 |
commit | 53888bf26b6c659db0b403454ee150c939ee456f (patch) | |
tree | c02cf94b471968259099424803547ca9f7a7339f /src | |
parent | d496cdb40e847c01ed4bb76e8b9352c04a7579e5 (diff) | |
download | emacs-53888bf26b6c659db0b403454ee150c939ee456f.tar.gz |
* src/termhooks.h (terminal): Comment on expected terminal hooks
Diffstat (limited to 'src')
-rw-r--r-- | src/termhooks.h | 13 |
1 files changed, 11 insertions, 2 deletions
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. */ |