Function: window-full-width-p
window-full-width-p is a byte-compiled function defined in
window.el.gz.
Signature
(window-full-width-p &optional WINDOW)
Documentation
Return t if WINDOW is as wide as its containing frame.
More precisely, return t if and only if the total width of WINDOW equals the total width 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 22.2.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window-full-width-p (&optional window)
"Return t if WINDOW is as wide as its containing frame.
More precisely, return t if and only if the total width of WINDOW
equals the total width 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))
(= (window-pixel-width window)
(window-pixel-width (frame-root-window window))))