diff options
| author | Richard M. Stallman | 1993-03-11 07:48:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-11 07:48:36 +0000 |
| commit | fa8fdbf9a0dbfcdfdc3ec4589cc26347c0064c26 (patch) | |
| tree | 2d9ddc5c82502f65163eec1b3f6ec246ce4ab97a /src/frame.c | |
| parent | 91463d45d0c529d7ceefac15aaf9fcd0a6db3c2b (diff) | |
| download | emacs-fa8fdbf9a0dbfcdfdc3ec4589cc26347c0064c26.tar.gz emacs-fa8fdbf9a0dbfcdfdc3ec4589cc26347c0064c26.zip | |
(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.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 7d70b88dc1c..e75278bb7df 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -82,6 +82,7 @@ Lisp_Object Qmodeline; | |||
| 82 | Lisp_Object Qname; | 82 | Lisp_Object Qname; |
| 83 | Lisp_Object Qonly; | 83 | Lisp_Object Qonly; |
| 84 | Lisp_Object Qunsplittable; | 84 | Lisp_Object Qunsplittable; |
| 85 | Lisp_Object Qmenu_bar_lines; | ||
| 85 | Lisp_Object Qwidth; | 86 | Lisp_Object Qwidth; |
| 86 | Lisp_Object Qx; | 87 | Lisp_Object Qx; |
| 87 | 88 | ||
| @@ -1065,6 +1066,7 @@ If FRAME is omitted, return information on the currently selected frame.") | |||
| 1065 | : (FRAME_MINIBUF_ONLY_P (f) ? Qonly | 1066 | : (FRAME_MINIBUF_ONLY_P (f) ? Qonly |
| 1066 | : FRAME_MINIBUF_WINDOW (f)))); | 1067 | : FRAME_MINIBUF_WINDOW (f)))); |
| 1067 | store_in_alist (&alist, Qunsplittable, (f->no_split ? Qt : Qnil)); | 1068 | store_in_alist (&alist, Qunsplittable, (f->no_split ? Qt : Qnil)); |
| 1069 | store_in_alist (&alist, Qmenu_bar_lines, (FRAME_MENU_BAR_LINES (f))); | ||
| 1068 | 1070 | ||
| 1069 | /* I think this should be done with a hook. */ | 1071 | /* I think this should be done with a hook. */ |
| 1070 | #ifdef HAVE_X_WINDOWS | 1072 | #ifdef HAVE_X_WINDOWS |
| @@ -1421,6 +1423,8 @@ syms_of_frame () | |||
| 1421 | staticpro (&Qwidth); | 1423 | staticpro (&Qwidth); |
| 1422 | Qx = intern ("x"); | 1424 | Qx = intern ("x"); |
| 1423 | staticpro (&Qx); | 1425 | staticpro (&Qx); |
| 1426 | Qmenu_bar_lines = intern ("menu-bar-lines"); | ||
| 1427 | staticpro (&Qmenu_bar_lines); | ||
| 1424 | 1428 | ||
| 1425 | staticpro (&Vframe_list); | 1429 | staticpro (&Vframe_list); |
| 1426 | 1430 | ||