From 00f6d59e8c78233447530355ebf6cdfd1013a62b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 29 Sep 1999 19:59:16 +0000 Subject: [PATCH] (resize_mini_window): Do nothing if frame is an X frame that hasn't been initialized yet. --- src/xdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.39.5