From 37b2bef6699c39e81f4172f0396bb5d6c60dd528 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 25 Jun 1994 17:54:57 +0000 Subject: [PATCH] (Fframe_parameters): Don't handle menu-bar-lines explicitly. --- src/frame.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5