about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index 85b1af8..91eeff2 100644
--- a/client.c
+++ b/client.c
@@ -226,6 +226,7 @@ manage(Window w, XWindowAttributes *wa) {
 		c->isfloating = (rettrans == Success) || c->isfixed;
 	attach(c);
 	attachstack(c);
+	setclientstate(c, IconicState);
 	c->isbanned = True;
 	focus(c);
 	lt->arrange();