X11 added window closing event