From e870b7bad67991399582acba18416b45d40d0d26 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 1 Feb 2001 15:01:11 +0000 Subject: [PATCH] (x_set_tool_bar_lines): Do nothing If frame is minibuffer-only, --- src/xfns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index e8572a33bf3..7e10d67085f 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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); -- 2.39.2