shorthanding
This commit is contained in:
parent
456f56f5b5
commit
7252529777
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ impl<'a, C: Connection> WmState<'a, C> {
|
|||
let wm_delete_window = conn.intern_atom(false, b"WM_DELETE_WINDOW")?;
|
||||
|
||||
Ok(WmState {
|
||||
conn: conn,
|
||||
screen_num: screen_num,
|
||||
black_gc: black_gc,
|
||||
conn,
|
||||
screen_num,
|
||||
black_gc,
|
||||
windows: Vec::default(),
|
||||
wm_protocols: wm_protocols.reply()?.atom,
|
||||
wm_delete_window: wm_delete_window.reply()?.atom,
|
||||
|
|
Loading…
Reference in a new issue