From: Gerd Moellmann Date: Wed, 29 Sep 1999 19:59:16 +0000 (+0000) Subject: (resize_mini_window): Do nothing if frame is an X X-Git-Tag: emacs-pretest-21.0.90~6610 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00f6d59e8c78233447530355ebf6cdfd1013a62b;p=emacs.git (resize_mini_window): Do nothing if frame is an X frame that hasn't been initialized yet. --- diff --git a/src/xdisp.c b/src/xdisp.c index e5ffabb3c43..e71ffaac152 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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))