changeset 8244:15d4c2bd29e6

[MULTI_FRAME] (Fframe_parameters): For non-X frames, fill in menu-bar-lines value.
author Richard M. Stallman <rms@gnu.org>
date Thu, 14 Jul 1994 03:44:29 +0000
parents bf7b3b969ab5
children b743577d12c2
files src/frame.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Thu Jul 14 03:39:04 1994 +0000
+++ b/src/frame.c	Thu Jul 14 03:44:29 1994 +0000
@@ -1403,18 +1403,15 @@
 		   : FRAME_MINIBUF_ONLY_P (f) ? Qonly
 		   : FRAME_MINIBUF_WINDOW (f)));
   store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil));
-#if 0 /* This ought to be correct in f->param_alist.  */
-  store_in_alist (&alist, Qmenu_bar_lines,
-		  (FRAME_MENU_BAR_LINES (f)
-		   ? FRAME_MENU_BAR_LINES (f)
-		   : FRAME_EXTERNAL_MENU_BAR (f)));
-#endif
 
   /* I think this should be done with a hook.  */
 #ifdef HAVE_X_WINDOWS
   if (FRAME_X_P (f))
     x_report_frame_params (f, &alist);
+  else
 #endif
+    /* This ought to be correct in f->param_alist for an X frame.  */
+    store_in_alist (&alist, Qmenu_bar_lines, FRAME_MENU_BAR_LINES (f));
   return alist;
 }