pub fn set_window_states_atoms(
        &self,
        window: xproto::Window,
        states: &[xproto::Atom],
    ) -> Result<()> {
        self.replace_property_u32(
            window,
            self.atoms.NetWMState,
            xproto::AtomEnum::ATOM.into(),
            states,
        )
    }
Sets the atom states of a window.
display-servers/x11rb-display-server/src/xwrap/setters.rs