Added x11 window resize event