X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tile.c;h=8075e554c3626ca872468ac157ea2bf935752a5f;hb=30af19d4426ca32dc38318bbe87534cc44484998;hp=fe25943b548c060e40334528baa2812bee6da62d;hpb=5d9146ff372ae0c5196e290fb2c1f828d4137e20;p=dwm.git 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(); }