Commit fa8fdbf9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_frame_parms): Add elts for visibility and menu-bar-lines.

(enum x_frame_parm): Likewise.
(x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
(x_set_visibility): New function.
(Fx_create_frame): Handle menu-bar-lines parm.
(Fframe_parameters): Report menu-bar-lines parm.
(syms_of_frame): Set up Qmenu_bar_lines.
parent 91463d45
......@@ -82,6 +82,7 @@ Lisp_Object Qmodeline;
Lisp_Object Qname;
Lisp_Object Qonly;
Lisp_Object Qunsplittable;
Lisp_Object Qmenu_bar_lines;
Lisp_Object Qwidth;
Lisp_Object Qx;
......@@ -1065,6 +1066,7 @@ If FRAME is omitted, return information on the currently selected frame.")
store_in_alist (&alist, Qunsplittable, (f->no_split ? Qt : Qnil));
store_in_alist (&alist, Qmenu_bar_lines, (FRAME_MENU_BAR_LINES (f)));
/* I think this should be done with a hook. */
......@@ -1421,6 +1423,8 @@ syms_of_frame ()
staticpro (&Qwidth);
Qx = intern ("x");
staticpro (&Qx);
Qmenu_bar_lines = intern ("menu-bar-lines");
staticpro (&Qmenu_bar_lines);
staticpro (&Vframe_list);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment