commit a88e0373efe5f6800a99fca2c228be98b522aaa9
parent aa9f2be24ea9ea6d9419cad1975bf34c5b64b6e5
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Thu,  1 Apr 2010 19:39:24 +0100
selmon optimisation is needed
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/dwm.c b/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) {