Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
some more refactoring
[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();
}