pub fn get_window_strut_array(&self, window: xproto::Window) -> Result<Option<DockArea>> {
        // More modern structure.
        if let Some(d) = self.get_window_strut_array_strut_partial(window)? {
            tracing::debug!("STRUT:[{:?}] {:?}", window, d);
            return Ok(Some(d));
        }
        // Older structure.
        if let Some(d) = self.get_window_strut_array_strut(window)? {
            tracing::debug!("STRUT:[{:?}] {:?}", window, d);
            return Ok(Some(d));
        }
        Ok(None)
    }
Returns structure of a window as a `DockArea`.
display-servers/x11rb-display-server/src/xwrap/getters.rs