about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2010-04-01 19:39:24 +0100
committerAnselm R Garbe <anselm@garbe.us>2010-04-01 19:39:24 +0100
commita88e0373efe5f6800a99fca2c228be98b522aaa9 (patch)
tree3a84e737682bce86f5378dbb429a8e5ca7f17a29
parentaa9f2be24ea9ea6d9419cad1975bf34c5b64b6e5 (diff)
downloaddwm-a88e0373efe5f6800a99fca2c228be98b522aaa9.tar.gz
selmon optimisation is needed
-rw-r--r--dwm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dwm.c b/dwm.c
index b1f77cc..ac534a8 100644
--- 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) {