diff options
| author | Richard M. Stallman | 1994-07-14 03:44:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-07-14 03:44:29 +0000 |
| commit | b6dd20ed5af6531da176dc617936ce6912c0d00a (patch) | |
| tree | 68c2349722ac6796d396b9d7cff1b571af0b0d7f /src | |
| parent | c34b559de0b8b19d56d8c13671893e1579a7449b (diff) | |
| download | emacs-b6dd20ed5af6531da176dc617936ce6912c0d00a.tar.gz emacs-b6dd20ed5af6531da176dc617936ce6912c0d00a.zip | |
[MULTI_FRAME] (Fframe_parameters): For non-X frames,
fill in menu-bar-lines value.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 9 |
1 files changed, 3 insertions, 6 deletions
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.") | |||
| 1403 | : FRAME_MINIBUF_ONLY_P (f) ? Qonly | 1403 | : FRAME_MINIBUF_ONLY_P (f) ? Qonly |
| 1404 | : FRAME_MINIBUF_WINDOW (f))); | 1404 | : FRAME_MINIBUF_WINDOW (f))); |
| 1405 | store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); | 1405 | store_in_alist (&alist, Qunsplittable, (FRAME_NO_SPLIT_P (f) ? Qt : Qnil)); |
| 1406 | #if 0 /* This ought to be correct in f->param_alist. */ | ||
| 1407 | store_in_alist (&alist, Qmenu_bar_lines, | ||
| 1408 | (FRAME_MENU_BAR_LINES (f) | ||
| 1409 | ? FRAME_MENU_BAR_LINES (f) | ||
| 1410 | : FRAME_EXTERNAL_MENU_BAR (f))); | ||
| 1411 | #endif | ||
| 1412 | 1406 | ||
| 1413 | /* I think this should be done with a hook. */ | 1407 | /* I think this should be done with a hook. */ |
| 1414 | #ifdef HAVE_X_WINDOWS | 1408 | #ifdef HAVE_X_WINDOWS |
| 1415 | if (FRAME_X_P (f)) | 1409 | if (FRAME_X_P (f)) |
| 1416 | x_report_frame_params (f, &alist); | 1410 | x_report_frame_params (f, &alist); |
| 1411 | else | ||
| 1417 | #endif | 1412 | #endif |
| 1413 | /* This ought to be correct in f->param_alist for an X frame. */ | ||
| 1414 | store_in_alist (&alist, Qmenu_bar_lines, FRAME_MENU_BAR_LINES (f)); | ||
| 1418 | return alist; | 1415 | return alist; |
| 1419 | } | 1416 | } |
| 1420 | 1417 | ||