ad95038c5e
According to the spec, _NET_WM_STATE must be removed when the window is withdrawn, much like _NET_WM_DESKTOP. fixes #2165