X11 -- how do you prevent window from closing if user closes it