Commit 00f6d59e authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(resize_mini_window): Do nothing if frame is an X

frame that hasn't been initialized yet.
parent 674f8b7c
...@@ -5490,7 +5490,8 @@ resize_mini_window (w, exact_p) ...@@ -5490,7 +5490,8 @@ resize_mini_window (w, exact_p)
xassert (MINI_WINDOW_P (w)); xassert (MINI_WINDOW_P (w));
/* Nil means don't try to resize. */ /* 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; return 0;
if (!FRAME_MINIBUF_ONLY_P (f)) if (!FRAME_MINIBUF_ONLY_P (f))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment