window-preserved-size

window-preserved-size is a compiled Lisp function in `window.el'.

(window-preserved-size &optional WINDOW HORIZONTAL)

Return preserved height of window WINDOW.
WINDOW must be a live window and defaults to the selected one.
Optional argument HORIZONTAL non-nil means to return preserved
width of WINDOW.