server: Don't revert the input to a destroyed window
server: Don't revert the input to a destroyed window

If the focus is an inferior of a destroyed window, then a destroyed
window will be the parent. Follow Xorg semantics and revert to the first
viewable window in the chain.

magcius/xplain,magcius/xplain