aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorFred Pierresteguy <[email protected]>1994-01-26 17:35:31 +0000
committerFred Pierresteguy <[email protected]>1994-01-26 17:35:31 +0000
commit78614721380456edb71ba1c6d4d4a161a1bd758d (patch)
tree58029731f11d4492d7640d644f74b8bb88ff2841 /src/xdisp.c
parent028922cf6acc7bea74e082b6924190a531922046 (diff)
Wed Jan 26 12:23:12 1994 Frederic Pierresteguy ([email protected])
* xdisp.c (update_menu_bar): Add USE_X_TOOLKIT conditional and test FRAME_EXTERNAL_MENU_BAR.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index c2a492ecbc..2dbbbabb0d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -946,7 +946,11 @@ update_menu_bar (window, just_this_one)
/* When we reach a frame's selected window, redo the frame's menu bar. */
if (!NILP (w->update_mode_line)
+#ifdef USE_X_TOOLKIT
+ && FRAME_EXTERNAL_MENU_BAR (f)
+#else
&& FRAME_MENU_BAR_LINES (f) > 0
+#endif
&& EQ (FRAME_SELECTED_WINDOW (f), window))
{
/* If the user has switched buffers or windows, we need to