aboutsummaryrefslogtreecommitdiffstats
path: root/tile.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-19 13:42:39 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-19 13:42:39 +0100
commit30af19d4426ca32dc38318bbe87534cc44484998 (patch)
treec3d862223531f5b02e3cb6e31b7e9ee5d38193a6 /tile.c
parent5d9146ff372ae0c5196e290fb2c1f828d4137e20 (diff)
downloaddwm-30af19d4426ca32dc38318bbe87534cc44484998.tar.gz
added some new convenience functions
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();
}
remember that computers suck.