pub fn get_window_geometry(&self, window: xproto::Window) -> Result<XyhwChange> {
        let geo = xproto::get_geometry(&self.conn, window)?.reply()?;
        Ok(XyhwChange {
            x: Some(geo.x.into()),
            y: Some(geo.y.into()),
            h: Some(geo.height.into()),
            w: Some(geo.width.into()),
            ..Default::default()
        })
    }
Returns the geometry of a window as a `XyhwChange` struct.
display-servers/x11rb-display-server/src/xwrap/getters.rs