shorthanding
parent
456f56f5b5
commit
7252529777
|
@ -31,9 +31,9 @@ impl<'a, C: Connection> WmState<'a, C> {
|
||||||
let wm_delete_window = conn.intern_atom(false, b"WM_DELETE_WINDOW")?;
|
let wm_delete_window = conn.intern_atom(false, b"WM_DELETE_WINDOW")?;
|
||||||
|
|
||||||
Ok(WmState {
|
Ok(WmState {
|
||||||
conn: conn,
|
conn,
|
||||||
screen_num: screen_num,
|
screen_num,
|
||||||
black_gc: black_gc,
|
black_gc,
|
||||||
windows: Vec::default(),
|
windows: Vec::default(),
|
||||||
wm_protocols: wm_protocols.reply()?.atom,
|
wm_protocols: wm_protocols.reply()?.atom,
|
||||||
wm_delete_window: wm_delete_window.reply()?.atom,
|
wm_delete_window: wm_delete_window.reply()?.atom,
|
||||||
|
|
Loading…
Reference in New Issue