summaryrefslogtreecommitdiff
path: root/tile.c
diff options
context:
space:
mode:
Diffstat (limited to 'tile.c')
-rw-r--r--tile.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tile.c b/tile.c
index fe25943..8075e55 100644
--- a/tile.c
+++ b/tile.c
@@ -125,10 +125,7 @@ zoom(Arg *arg) {
if(!(c = nextmanaged(c->next)))
return;
detach(c);
- if(clients)
- clients->prev = c;
- c->next = clients;
- clients = c;
+ attach(c);
focus(c);
arrange();
}