# HG changeset patch # User Richard M. Stallman # Date 759184987 0 # Node ID ac0f9da2511134c0f0490355a47a907cc5f65f9e # Parent 94f317eca45dc628ff5714d689b443fab5127833 (struct frame): New field external_menu_bar. (FRAME_EXTERNAL_MENU_BAR): New macro. diff -r 94f317eca45d -r ac0f9da25111 src/frame.h --- 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)