Commit 7e63ac6a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(store_frame_param): Don't call set_menu_bar_lines if X.

parent 5391a863
...@@ -1633,8 +1633,9 @@ store_frame_param (f, prop, val) ...@@ -1633,8 +1633,9 @@ store_frame_param (f, prop, val)
if (EQ (prop, Qbuffer_predicate)) if (EQ (prop, Qbuffer_predicate))
f->buffer_predicate = val; f->buffer_predicate = val;
if (EQ (prop, Qmenu_bar_lines)) if (! FRAME_X_P (f))
set_menu_bar_lines (f, val, make_number (FRAME_MENU_BAR_LINES (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)) if (EQ (prop, Qminibuffer) && WINDOWP (val))
{ {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment