X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/5d9146ff372ae0c5196e290fb2c1f828d4137e20..b3d7e07f18f0f69f8c3b3542615da62dfc4c6175:/tile.c 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(); }