Window.getRootOrigin

Obtains the top-left corner of the window manager frame in root window coordinates.

class Window
void
getRootOrigin
(
out int x
,
out int y
)

Parameters

x int

return location for X position of window frame

y int

return location for Y position of window frame