Commit e870b7ba authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(x_set_tool_bar_lines): Do nothing If frame is

minibuffer-only,
parent e86b5133
......@@ -2005,6 +2005,10 @@ x_set_tool_bar_lines (f, value, oldval)
int delta, nlines, root_height;
Lisp_Object root_window;
/* Treat tool bars like menu bars. */
if (FRAME_MINIBUF_ONLY_P (f))
return;
/* Use VALUE only if an integer >= 0. */
if (INTEGERP (value) && XINT (value) >= 0)
nlines = XFASTINT (value);
......
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