From 4579ebac1d049ec451d4e7c2619dc55ea911a9df Mon Sep 17 00:00:00 2001 From: tcmal Date: Fri, 21 Jun 2024 21:00:25 +0100 Subject: move border colours to config --- src/conn_info/mod.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/conn_info/mod.rs') diff --git a/src/conn_info/mod.rs b/src/conn_info/mod.rs index 521bf3e..bd6f0cd 100644 --- a/src/conn_info/mod.rs +++ b/src/conn_info/mod.rs @@ -1,9 +1,10 @@ +use std::fmt::Debug; use xcb::{ x::{ self, ChangeProperty, ChangeWindowAttributes, CreateWindow, DeleteProperty, DestroyWindow, Window, WindowClass, }, - Connection as RawConnection, + Connection as RawConnection, Cookie, }; mod atoms; @@ -11,7 +12,12 @@ mod colours; mod cursors; mod keys; -pub use self::{atoms::Atoms, colours::Colours, cursors::Cursors, keys::KeyboardInfo}; +pub use self::{ + atoms::Atoms, + colours::{Colour, Colours}, + cursors::Cursors, + keys::KeyboardInfo, +}; use crate::error::{Error, Result}; /// The connection, along with some cached resources required for WM operations. -- cgit v1.2.3