From: Richard M. Stallman Date: Sat, 12 Aug 1995 23:26:21 +0000 (+0000) Subject: (store_frame_param): Don't call set_menu_bar_lines if X. X-Git-Tag: emacs-19.34~3019 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e63ac6aec82f15ccaafd8f51d53e5a15f178063;p=emacs.git (store_frame_param): Don't call set_menu_bar_lines if X. --- diff --git a/src/frame.c b/src/frame.c index 54c094c6509..11a0d58c919 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1633,8 +1633,9 @@ store_frame_param (f, prop, val) 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)) {