Forget x1,y1,x2,y2

I have created one window i want to know the centre point my screen .