Set _NET_WM_STATE atoms via the window manager (as required by the spec.). Unfortunately, this means we have to wait for the window to leave the withdrawn state.