Function: window--resize-apply-p

window--resize-apply-p is a byte-compiled function defined in window.el.gz.

Signature

(window--resize-apply-p FRAME &optional HORIZONTAL)

Documentation

Return t when a window on FRAME shall be resized vertically.

Optional argument HORIZONTAL non-nil means return t when a window shall be resized horizontally.

Source Code

;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window--resize-apply-p (frame &optional horizontal)
  "Return t when a window on FRAME shall be resized vertically.
Optional argument HORIZONTAL non-nil means return t when a window
shall be resized horizontally."
  (catch 'apply
    (walk-window-tree
     (lambda (window)
       (unless (= (window-new-pixel window)
		  (window-size window horizontal t))
	 (throw 'apply t)))
     frame t t)
    nil))