summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index d1c9a27..7c6c7bd 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -70,7 +70,9 @@ impl<'a> WM<'a> {
conn: Connection::new(conn, screen_num)?,
clients: ClientState::default(),
};
+
this.clients.update_geometry(&this.conn)?;
+ keys::grab(&mut this.conn)?;
Ok(this)
}