diff options
author | tcmal <me@aria.rip> | 2024-06-27 00:28:45 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-06-27 00:28:45 +0100 |
commit | d10f18548b1e00ac838e12a72e30de48cd0486af (patch) | |
tree | dc39e176430b92602d21a8c8c92a109c057d59ff | |
parent | 365ce9b436d347908b0c5263d4c73e7e8e352e7f (diff) |
fix minor bugs
-rw-r--r-- | src/clients/mod.rs | 1 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/clients/mod.rs b/src/clients/mod.rs index 58a5501..266a61d 100644 --- a/src/clients/mod.rs +++ b/src/clients/mod.rs @@ -251,7 +251,6 @@ impl ClientState { self.unfocus(conn); if let Some(new) = self.set_focused(mon, i) { new.set_border(conn, conn.colours.border_focused()); - new.set_urgent(false); new.sync_properties(conn, true); if !new.never_focus() { conn.send_request(&SetInputFocus { 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) } |