got full size of xserver and then applied to frame size