about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-11 08:34:42 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-11 08:34:42 +0200
commit735ca9ccd61c8e498b04fa6928a42afe24a6b361 (patch)
tree827b7f1843ee59bf72f0b6c29aa9746e7c8e61c6 /client.c
parent4ee661d9086f3faa9218cebb53983517bd685222 (diff)
downloaddwm-735ca9ccd61c8e498b04fa6928a42afe24a6b361.tar.gz
removed the if(clients) check from popping code
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.c b/client.c
index 8ec8ffb..57ea617 100644
--- 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);