diff client.c @ 381:b00cc483d13b

still something wrong with reorder()
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 29 Aug 2006 13:40:09 +0200
parents 83576f5f0a90
children 052657ff2e7b
line wrap: on
line diff
--- a/client.c	Tue Aug 29 09:57:57 2006 +0200
+++ b/client.c	Tue Aug 29 13:40:09 2006 +0200
@@ -241,7 +241,10 @@
 			|| (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))