Function: window-full-height-p
window-full-height-p is a byte-compiled function defined in
window.el.gz.
Signature
(window-full-height-p &optional WINDOW)
Documentation
Return t if WINDOW is as high as its containing frame.
More precisely, return t if and only if the total height of WINDOW equals the total height of the root window of WINDOW's frame. WINDOW must be a valid window and defaults to the selected one.
Probably introduced at or before Emacs version 23.2.
Aliases
mh-window-full-height-p (obsolete since 29.1)
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-full-height-p (&optional window)
"Return t if WINDOW is as high as its containing frame.
More precisely, return t if and only if the total height of
WINDOW equals the total height of the root window of WINDOW's
frame. WINDOW must be a valid window and defaults to the
selected one."
(setq window (window-normalize-window window))
(if (window-minibuffer-p window)
(eq window (frame-root-window (window-frame window)))
(= (window-pixel-height window)
(window-pixel-height (frame-root-window window)))))