wmstate in main
This commit is contained in:
parent
669c2909fd
commit
29a2fd6d01
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue