changeset 5657:ac0f9da25111

(struct frame): New field external_menu_bar. (FRAME_EXTERNAL_MENU_BAR): New macro.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Jan 1994 20:43:07 +0000
parents 94f317eca45d
children 4e3a6baa4750
files src/frame.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.h	Fri Jan 21 20:41:49 1994 +0000
+++ b/src/frame.h	Fri Jan 21 20:43:07 1994 +0000
@@ -152,6 +152,11 @@
   /* 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 @@
 #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)