JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added some new convenience functions
[dwm.git] / tile.c
diff --git a/tile.c b/tile.c
index fe25943..8075e55 100644 (file)
--- 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();
 }