summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-27 00:28:45 +0100
committertcmal <me@aria.rip>2024-06-27 00:28:45 +0100
commitd10f18548b1e00ac838e12a72e30de48cd0486af (patch)
treedc39e176430b92602d21a8c8c92a109c057d59ff /src/main.rs
parent365ce9b436d347908b0c5263d4c73e7e8e352e7f (diff)
fix minor bugs
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)
}