view.c
changeset 401 1eb2eb405653
parent 400 052657ff2e7b
child 402 c7d5ff57998d
--- a/view.c	Mon Sep 04 08:55:49 2006 +0200
+++ b/view.c	Mon Sep 04 10:10:08 2006 +0200
@@ -68,9 +68,8 @@
 		else
 			ban(c);
 	}
-	if(!(fc = sel) || !isvisible(fc))
-		fc = getnext(clients);
-	focus(fc);
+	if(!sel || !isvisible(sel))
+		focus(getnext(clients));
 	restack();
 }
 
@@ -131,9 +130,8 @@
 		else
 			ban(c);
 	}
-	if(!(fc = sel) || !isvisible(fc))
-		fc = getnext(clients);
-	focus(fc);
+	if(!sel || !isvisible(sel))
+		focus(getnext(clients));
 	restack();
 }