compare-windows-get-recent-window

compare-windows-get-recent-window is a compiled Lisp function in `compare-w.el'.

(compare-windows-get-recent-window)

Return the most recently used window.
First try to get the most recently used window on a visible frame,
then try to get a window on an iconified frame, and finally
consider all existing frames.