diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-02-01 15:01:11 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-02-01 15:01:11 +0000 |
commit | 41696446cb78fbea19d69c885aa84376a4b36ea1 (patch) | |
tree | aa6936458744248dd6ef971fe61b4d59db6a43bb | |
parent | b3a9f3e285e86811082f259eb58bdc00801dd66d (diff) | |
download | emacs-41696446cb78fbea19d69c885aa84376a4b36ea1.tar.gz |
(x_set_tool_bar_lines): Do nothing If frame is
minibuffer-only,
-rw-r--r-- | src/xfns.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |