[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/x_emacs 53888bf 2/5: * src/termhooks.h (terminal):
From: |
Alexander Gramiak |
Subject: |
[Emacs-diffs] scratch/x_emacs 53888bf 2/5: * src/termhooks.h (terminal): Comment on expected terminal hooks |
Date: |
Tue, 16 Apr 2019 12:52:06 -0400 (EDT) |
branch: scratch/x_emacs
commit 53888bf26b6c659db0b403454ee150c939ee456f
Author: Alexander Gramiak <address@hidden>
Commit: Alexander Gramiak <address@hidden>
* src/termhooks.h (terminal): Comment on expected terminal hooks
---
src/termhooks.h | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/termhooks.h b/src/termhooks.h
index ab1a701..bd320c5 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. */