diff --git a/src/main.rs b/src/main.rs index 8af4ad1..892ba68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,6 +3,7 @@ mod state; use setup::{become_wm, handle_args}; +use state::WmState; use x11rb::{connect, connection::Connection}; fn main() -> anyhow::Result<()> { @@ -17,6 +18,7 @@ fn main() -> anyhow::Result<()> { become_wm(&conn, screen)?; + let mut _wm_state = WmState::new(&conn, screen_num)?; // TODO: setup // Whole bunch to do here // - setting up application state