diff options
Diffstat (limited to 'src/conn_info/mod.rs')
-rw-r--r-- | src/conn_info/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/conn_info/mod.rs b/src/conn_info/mod.rs index 183f691..c1d768d 100644 --- a/src/conn_info/mod.rs +++ b/src/conn_info/mod.rs @@ -1,3 +1,5 @@ +//! Global resources and utilities + use std::fmt::Debug; use xcb::{ x::{ @@ -7,9 +9,13 @@ use xcb::{ Connection as RawConnection, Cookie, VoidCookieChecked, }; +#[doc(hidden)] mod atoms; +#[doc(hidden)] mod colours; +#[doc(hidden)] mod cursors; +#[doc(hidden)] mod keys; pub use self::{ @@ -49,6 +55,7 @@ pub struct Connection<'a> { pub keyboard_state: KeyboardInfo, } +/// Helper macro to log a request / cookie when debug_assertions are on macro_rules! debug_req { ($req:ident) => { #[cfg(debug_assertions)] |