windmove-other-window-loc

windmove-other-window-loc is a compiled Lisp function in `windmove.el'.

(windmove-other-window-loc DIR &optional ARG WINDOW)

Return a location in the window to be moved to.
Return value is a frame-based (HPOS . VPOS) value that should be moved
to. DIR is one of `left', `up', `right', or `down'; an optional ARG
is handled as by `windmove-reference-loc'; WINDOW is the window that
movement is relative to.