diff options
-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) } |