This piece of logic belongs in X11Window rather than Deleted as the latter is merely a representation of a closed window.