selmon optimisation is needed
authorAnselm R Garbe <anselm@garbe.us>
Thu, 01 Apr 2010 19:39:24 +0100
changeset 1511 68386bda4854
parent 1510 e9c916f6ea15
child 1512 f8871a8b8cd8
selmon optimisation is needed
dwm.c
--- a/dwm.c	Thu Apr 01 00:14:15 2010 +0100
+++ b/dwm.c	Thu Apr 01 19:39:24 2010 +0100
@@ -815,10 +815,6 @@
 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) {