wmstate in main
parent
669c2909fd
commit
29a2fd6d01
|
@ -3,6 +3,7 @@ mod state;
|
||||||
|
|
||||||
use setup::{become_wm, handle_args};
|
use setup::{become_wm, handle_args};
|
||||||
|
|
||||||
|
use state::WmState;
|
||||||
use x11rb::{connect, connection::Connection};
|
use x11rb::{connect, connection::Connection};
|
||||||
|
|
||||||
fn main() -> anyhow::Result<()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
|
@ -17,6 +18,7 @@ fn main() -> anyhow::Result<()> {
|
||||||
|
|
||||||
become_wm(&conn, screen)?;
|
become_wm(&conn, screen)?;
|
||||||
|
|
||||||
|
let mut _wm_state = WmState::new(&conn, screen_num)?;
|
||||||
// TODO: setup
|
// TODO: setup
|
||||||
// Whole bunch to do here
|
// Whole bunch to do here
|
||||||
// - setting up application state
|
// - setting up application state
|
||||||
|
|
Loading…
Reference in New Issue