summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-06-06 18:45:52 +0100
committertcmal <me@aria.rip>2024-06-06 18:45:52 +0100
commit266d39668bcee886cc7fecdb0f2c7b0b3302b20e (patch)
tree4431e93ff84b3e49c74a83e6f060ca310b866a31
parent2b9d2da2d8424087eb5c08dfe0ea72938cfd1be9 (diff)
fix not rearranging when windows unmap themselves
-rw-r--r--src/clients.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clients.rs b/src/clients.rs
index 940efee..d5bd8a9 100644
--- a/src/clients.rs
+++ b/src/clients.rs
@@ -141,6 +141,7 @@ impl WM<'_> {
// TODO: set client state to withdrawn
} else {
self.clients.remove_client(e.window());
+ self.clients.rearrange(self.conn);
// TODO: 'disown' the window - unmange(c, 0)
}
}