Shows and centers the window according to the x/y location specified while accounting the dock's position.
x |
the x location |
y |
the y location |
position |
the dock's position |