changeset 25832:148a6733cd83

(resize_mini_window): Do nothing if frame is an X frame that hasn't been initialized yet.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 29 Sep 1999 19:59:16 +0000
parents f77459b629f4
children 65cab65c4a28
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Sep 29 19:34:40 1999 +0000
+++ b/src/xdisp.c	Wed Sep 29 19:59:16 1999 +0000
@@ -5490,7 +5490,8 @@
   xassert (MINI_WINDOW_P (w));
 
   /* Nil means don't try to resize.  */
-  if (NILP (Vmax_mini_window_height))
+  if (NILP (Vmax_mini_window_height)
+      || (FRAME_X_P (f) && f->output_data.x == NULL))
     return 0;
   
   if (!FRAME_MINIBUF_ONLY_P (f))