about summary refs log tree commit diff stats
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
parent4ee661d9086f3faa9218cebb53983517bd685222 (diff)
downloaddwm-735ca9ccd61c8e498b04fa6928a42afe24a6b361.tar.gz
removed the if(clients) check from popping code
-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);
n129' href='#n129'>129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162