summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-25 17:54:57 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-25 17:54:57 +0000
commite795fc7e1abc20cdef0660f859239f46642fc4ad (patch)
tree6d476bcdd12be0cd7daba18dd6350d878bff2228 /src/frame.c
parent6ff8939671be7ee6ef444b687920ed1d8e990cf4 (diff)
downloademacs-e795fc7e1abc20cdef0660f859239f46642fc4ad.tar.gz
(Fframe_parameters): Don't handle menu-bar-lines explicitly.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 5face5086a9..569b0622c7d 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1369,7 +1369,12 @@ If FRAME is omitted, return information on the currently selected frame.")
: FRAME_MINIBUF_ONLY_P (f) ? Qonly
: FRAME_MINIBUF_WINDOW (f)));
store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil));
- store_in_alist (&alist, Qmenu_bar_lines, (FRAME_MENU_BAR_LINES (f)));
+#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