From 7e63ac6aec82f15ccaafd8f51d53e5a15f178063 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 12 Aug 1995 23:26:21 +0000 Subject: [PATCH] (store_frame_param): Don't call set_menu_bar_lines if X. --- src/frame.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) { -- 2.39.2