Mercurial > emacs
changeset 12841:639f9d12f0f8
(store_frame_param): Don't call set_menu_bar_lines if X.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 12 Aug 1995 23:26:21 +0000 |
parents | 4e9a14304b8b |
children | f5e4db7e8197 |
files | src/frame.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/frame.c Sat Aug 12 18:15:28 1995 +0000 +++ b/src/frame.c Sat Aug 12 23:26:21 1995 +0000 @@ -1633,8 +1633,9 @@ if (EQ (prop, Qbuffer_predicate)) f->buffer_predicate = val; - if (EQ (prop, Qmenu_bar_lines)) - set_menu_bar_lines (f, val, make_number (FRAME_MENU_BAR_LINES (f))); + if (! FRAME_X_P (f)) + if (EQ (prop, Qmenu_bar_lines)) + set_menu_bar_lines (f, val, make_number (FRAME_MENU_BAR_LINES (f))); if (EQ (prop, Qminibuffer) && WINDOWP (val)) {