aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-06-16 21:26:47 +0000
committerJim Blandy1993-06-16 21:26:47 +0000
commit79f92720d1a131db42b6e72f35ef92c10f716cec (patch)
tree124175f4849bac758fa32f7b6a23c70671feeb77 /src
parent98e9d14baa4adcf389e392b2accc659869d6509d (diff)
downloademacs-79f92720d1a131db42b6e72f35ef92c10f716cec.tar.gz
emacs-79f92720d1a131db42b6e72f35ef92c10f716cec.zip
* window.c (check_frame_size): Allow minibuffer-only frames to be
one line high.
Diffstat (limited to 'src')
-rw-r--r--src/window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index d3baca1d8a2..d7e91560d7c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1376,9 +1376,8 @@ check_frame_size (frame, rows, cols)
1376 /* For height, we have to see whether the frame has a minibuffer, and 1376 /* For height, we have to see whether the frame has a minibuffer, and
1377 whether it wants a mode line. */ 1377 whether it wants a mode line. */
1378 int min_height = 1378 int min_height =
1379 ((FRAME_MINIBUF_ONLY_P (frame) 1379 (FRAME_MINIBUF_ONLY_P (frame) ? MIN_SAFE_WINDOW_HEIGHT - 1
1380 || ! FRAME_HAS_MINIBUF_P (frame)) 1380 : (! FRAME_HAS_MINIBUF_P (frame)) ? MIN_SAFE_WINDOW_HEIGHT
1381 ? MIN_SAFE_WINDOW_HEIGHT
1382 : 2 * MIN_SAFE_WINDOW_HEIGHT - 1); 1381 : 2 * MIN_SAFE_WINDOW_HEIGHT - 1);
1383 1382
1384 if (*rows < min_height) 1383 if (*rows < min_height)