From: Richard M. Stallman Date: Thu, 14 Jul 1994 03:44:29 +0000 (+0000) Subject: [MULTI_FRAME] (Fframe_parameters): For non-X frames, X-Git-Tag: emacs-19.34~7609 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b6dd20ed5af6531da176dc617936ce6912c0d00a;p=emacs.git [MULTI_FRAME] (Fframe_parameters): For non-X frames, fill in menu-bar-lines value. --- diff --git a/src/frame.c b/src/frame.c index c658885bb9a..4d2def98441 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1403,18 +1403,15 @@ 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)); -#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; }