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

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

parent 5391a863
......@@ -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))
{
......
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