pub fn update_colors(
        &mut self,
        focused: Option<WindowHandle<X11rbWindowHandle>>,
        windows: &[Window<X11rbWindowHandle>],
    ) -> Result<()> {
        // Update all the windows with the new colors.
        for window in windows {
            let WindowHandle(X11rbWindowHandle(handle)) = window.handle;
            let color: u32 = if focused == Some(window.handle) {
                self.colors.active
            } else if window.floating() {
                self.colors.floating
            } else {
                self.colors.normal
            };
            self.set_window_border_color(handle, color)?;
        }
        self.set_background_color(self.colors.background)?;
        Ok(())
    }
Load the colors of our theme.
display-servers/x11rb-display-server/src/xwrap.rs