changeset 36312:aa32e4e49d10

(Fx_create_frame): Don't add FRAME_TOOL_BAR_LINES to height unconditionally.
author Jason Rumney <jasonr@gnu.org>
date Fri, 23 Feb 2001 10:11:40 +0000
parents ada812d91162
children 77093a87f2de
files src/w32fns.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Thu Feb 22 23:26:41 2001 +0000
+++ b/src/w32fns.c	Fri Feb 23 10:11:40 2001 +0000
@@ -5367,13 +5367,6 @@
   tem = w32_get_arg (parms, Qunsplittable, 0, 0, RES_TYPE_BOOLEAN);
   f->no_split = minibuffer_only || EQ (tem, Qt);
 
-  /* Create the window. Add the tool-bar height to the initial frame
-     height so that the user gets a text display area of the size he
-     specified with -g or via the registry. Later changes of the
-     tool-bar height don't change the frame size. This is done so that
-     users can create tall Emacs frames without having to guess how
-     tall the tool-bar will get. */
-  f->height += FRAME_TOOL_BAR_LINES (f);
   w32_window (f, window_prompting, minibuffer_only);
   x_icon (f, parms);