Commit a88e037

Anselm R Garbe <anselm@garbe.us>
2010-04-01 14:39:24
selmon optimisation is needed
1 parent aa9f2be
Changed files (1)
dwm.c
@@ -815,10 +815,6 @@ void
 focus(Client *c) {
 	if(!c || !ISVISIBLE(c))
 		for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext);
-	if(c && c == selmon->sel) {
-		D fprintf(stderr, "focus, optimising focus away\n");
-		return;
-	}
 	if(selmon->sel)
 		unfocus(selmon->sel);
 	if(c) {