wmstate in main

This commit is contained in:
Zynh0722 2024-02-01 13:10:14 -08:00
parent 669c2909fd
commit 29a2fd6d01

View file

@ -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