Function: window--resize-reset-1
window--resize-reset-1 is a byte-compiled function defined in
window.el.gz.
Signature
(window--resize-reset-1 WINDOW HORIZONTAL)
Documentation
Internal function of window--resize-reset.
Source Code
;; Defined in /usr/src/emacs/lisp/window.el.gz
(defun window--resize-reset-1 (window horizontal)
"Internal function of `window--resize-reset'."
;; Register old size in the new total size.
(set-window-new-pixel window (window-size window horizontal t))
(set-window-new-total window (window-size window horizontal))
;; Reset new normal size.
(set-window-new-normal window)
(when (window-child window)
(window--resize-reset-1 (window-child window) horizontal))
(when (window-right window)
(window--resize-reset-1 (window-right window) horizontal)))