tile.c
changeset 771 05946fa53085
parent 770 5280cbb5bbd4
--- a/tile.c	Mon Feb 19 13:17:49 2007 +0100
+++ b/tile.c	Mon Feb 19 13:42:39 2007 +0100
@@ -125,10 +125,7 @@
 		if(!(c = nextmanaged(c->next)))
 			return;
 	detach(c);
-	if(clients)
-		clients->prev = c;
-	c->next = clients;
-	clients = c;
+	attach(c);
 	focus(c);
 	arrange();
 }