new resize stuff (using XConfigureWindow instead of XSendEvent)