Mercurial > emacs
changeset 35819:74e2d9de2fc1
(x_set_tool_bar_lines): Do nothing If frame is
minibuffer-only,
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 01 Feb 2001 15:01:11 +0000 |
parents | 611c19933085 |
children | 3cfa6e077b83 |
files | src/xfns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Thu Feb 01 14:09:49 2001 +0000 +++ b/src/xfns.c Thu Feb 01 15:01:11 2001 +0000 @@ -2005,6 +2005,10 @@ 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);