Commit 79f92720 authored by Jim Blandy's avatar Jim Blandy
Browse files

* window.c (check_frame_size): Allow minibuffer-only frames to be

	one line high.
parent 98e9d14b
......@@ -1376,9 +1376,8 @@ check_frame_size (frame, rows, cols)
/* For height, we have to see whether the frame has a minibuffer, and
whether it wants a mode line. */
int min_height =
((FRAME_MINIBUF_ONLY_P (frame)
|| ! FRAME_HAS_MINIBUF_P (frame))
? MIN_SAFE_WINDOW_HEIGHT
(FRAME_MINIBUF_ONLY_P (frame) ? MIN_SAFE_WINDOW_HEIGHT - 1
: (! FRAME_HAS_MINIBUF_P (frame)) ? MIN_SAFE_WINDOW_HEIGHT
: 2 * MIN_SAFE_WINDOW_HEIGHT - 1);
if (*rows < min_height)
......
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