aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-29 13:40:09 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-29 13:40:09 +0200
commit9d739090750ffb3b3a64e86e2331215b8901c360 (patch)
tree6670ab450bf962433c148a6ff30107a411b6fb27 /client.c
parent016c54196e682ae8658854febb746b0437a010dc (diff)
downloaddwm-9d739090750ffb3b3a64e86e2331215b8901c360.tar.zst
still something wrong with reorder()
Diffstat (limited to 'client.c')
-rw-r--r--client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/client.c b/client.c
index 0a7df77..9645444 100644
--- a/client.c
+++ b/client.c
@@ -241,7 +241,10 @@ manage(Window w, XWindowAttributes *wa)
|| (c->maxw && c->minw &&
c->maxw == c->minw && c->maxh == c->minh);
- attach(c);
+ if(clients)
+ clients->prev = c;
+ c->next = clients;
+ clients = c;
settitle(c);
if(isvisible(c))