aboutsummaryrefslogtreecommitdiffstats
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>1999-09-29 19:59:16 +0000
committerGerd Moellmann <[email protected]>1999-09-29 19:59:16 +0000
commit00f6d59e8c78233447530355ebf6cdfd1013a62b (patch)
tree1514c4144570e071c3f7c6683b34aba62387e0e1 /src/xdisp.c
parent674f8b7c1824d1c7387f187f6eee25e596dbfecf (diff)
(resize_mini_window): Do nothing if frame is an X
frame that hasn't been initialized yet.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index e5ffabb3c4..e71ffaac15 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))