From 9d739090750ffb3b3a64e86e2331215b8901c360 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 29 Aug 2006 13:40:09 +0200 Subject: still something wrong with reorder() --- client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client.c') 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)) -- cgit v1.2.3