compare-windows-get-next-window

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

(compare-windows-get-next-window)

Return the window next in the cyclic ordering of windows.
In the selected frame contains only one window, consider windows
on all visible frames.