about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-07-28 17:25:44 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-07-28 17:25:44 +0200
commit8fda28be3576c9702c0323a5240bbc44c970f24e (patch)
treeac955e4327cb6ca2d4aad202ec41137b60b21fb6
parenta54cf2ecef2ca83441dccd454c694b92bca42a16 (diff)
downloaddwm-8fda28be3576c9702c0323a5240bbc44c970f24e.tar.gz
set client state to iconic on maprequest
-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();
pre>4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
35
36
37