Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
4ee661d
)
removed the if(clients) check from popping code
author
Anselm R.Garbe <
[email protected]
>
Fri, 11 Aug 2006 06:34:42 +0000
(08:34 +0200)
committer
Anselm R.Garbe <
[email protected]
>
Fri, 11 Aug 2006 06:34:42 +0000
(08:34 +0200)
client.c
diff
|
blob
|
history
diff --git
a/client.c
b/client.c
index
8ec8ffb
..
57ea617
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-477,8
+477,7
@@
zoom(Arg *arg)
if(sel->next)
sel->next->prev = sel->prev;
sel->prev = NULL;
- if(clients)
- clients->prev = sel;
+ clients->prev = sel;
sel->next = clients;
clients = sel;
arrange(NULL);