aboutsummaryrefslogtreecommitdiff
path: root/src/dotwm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotwm.rs')
-rw-r--r--src/dotwm.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dotwm.rs b/src/dotwm.rs
index e94b17f..d528899 100644
--- a/src/dotwm.rs
+++ b/src/dotwm.rs
@@ -29,10 +29,12 @@ unsafe extern "C" fn error_handler(d: *mut Display, evptr: *mut XErrorEvent) ->
}
pub struct DotWM {
+ /// Reference to the X display.
pub display: *mut Display,
+ /// References to all the windows.
+ pub window_list: Vec<XWindow>,
// Map with the keys as (key, mod)
cw_idx: usize,
- pub window_list: Vec<XWindow>,
}
/// DotWM state.