changeset 5676:b5027523c90d

Wed Jan 26 12:23:12 1994 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) * xdisp.c (update_menu_bar): Add USE_X_TOOLKIT conditional and test FRAME_EXTERNAL_MENU_BAR.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Wed, 26 Jan 1994 17:35:31 +0000
parents 3191bf405867
children 8143f6ad30d2
files src/xdisp.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jan 26 17:19:32 1994 +0000
+++ b/src/xdisp.c	Wed Jan 26 17:35:31 1994 +0000
@@ -946,7 +946,11 @@
 
   /* 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