Window.getRootOrigin
void getRootOrigin(out int x, out int y)Obtains the top-left corner of the window manager frame in root window coordinates.
Parameters
x | return location for X position of window frame |
y | return location for Y position of window frame |