dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 735ca9ccd61c8e498b04fa6928a42afe24a6b361
parent 4ee661d9086f3faa9218cebb53983517bd685222
Author: Anselm R.Garbe <arg@10ksloc.org>
Date:   Fri, 11 Aug 2006 08:34:42 +0200

removed the if(clients) check from popping code

Diffstat:
Mclient.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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);