summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-21 20:43:07 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-21 20:43:07 +0000
commitafb05b7130e63fc18e1007f320985e2e79199d9f (patch)
tree108fc900c3ba1c57e9b7a274ae4381cf6ffa9253 /src/frame.h
parent5d15e6fadef8353a5959109bf8403d1573040f6f (diff)
downloademacs-afb05b7130e63fc18e1007f320985e2e79199d9f.tar.gz
(struct frame): New field external_menu_bar.
(FRAME_EXTERNAL_MENU_BAR): New macro.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 6b470e6ab9a..9f6f2506572 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -152,6 +152,11 @@ struct frame
/* Number of lines of menu bar. */
int menu_bar_lines;
+#ifdef USE_X_TOOLKIT
+ /* Nonzero means using a menu bar that comes from the X toolkit. */
+ int external_menu_bar;
+#endif
+
/* Nonzero if last attempt at redisplay on this frame was preempted. */
char display_preempted;
@@ -253,6 +258,7 @@ typedef struct frame *FRAME_PTR;
#define FRAME_NEW_HEIGHT(f) (f)->new_height
#define FRAME_NEW_WIDTH(f) (f)->new_width
#define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines
+#define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar
#define FRAME_CURSOR_X(f) (f)->cursor_x
#define FRAME_CURSOR_Y(f) (f)->cursor_y
#define FRAME_VISIBLE_P(f) ((f)->visible != 0)