]> git.eshelyaron.com Git - emacs.git/commitdiff
(resize_mini_window): Do nothing if frame is an X
authorGerd Moellmann <gerd@gnu.org>
Wed, 29 Sep 1999 19:59:16 +0000 (19:59 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 29 Sep 1999 19:59:16 +0000 (19:59 +0000)
frame that hasn't been initialized yet.

src/xdisp.c

index e5ffabb3c43edc2d1e6a8cb12239aab517aeaedc..e71ffaac15297de59dc45c0396cf811a580d3963 100644 (file)
@@ -5490,7 +5490,8 @@ resize_mini_window (w, exact_p)
   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))