Obtains the position of a window position in root
window coordinates. This is similar to
Window.getOrigin but allows you to pass
in any position in the window, not just the origin.
X coordinate in window
Y coordinate in window
return location for X coordinate
return location for Y coordinate