summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 8369789a9e7..e2a403dff58 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -40,7 +40,7 @@ even if it is active."
(walk-windows (function (lambda (w)
(setq count (+ count 1))))
'nomini)
- (let ((size (/ (screen-height) count)))
+ (let ((size (/ (frame-height) count)))
(walk-windows (function (lambda (w)
(select-window w)
(enlarge-window (- size (window-height)))))