shorthanding

main
Zynh0722 2024-01-31 22:35:11 -08:00
parent 456f56f5b5
commit 7252529777
1 changed files with 3 additions and 3 deletions

View File

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