Commit Diff


commit - aa9f2be24ea9ea6d9419cad1975bf34c5b64b6e5
commit + a88e0373efe5f6800a99fca2c228be98b522aaa9
blob - b1f77cc343d6d92b0fc640c1db2300698b6aeebb
blob + ac534a8c73f74020056d6942cd1b92f4caea4f99
--- dwm.c
+++ 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) {