Преглед на файлове

selmon optimisation is needed

Anselm R Garbe преди 15 години
родител
ревизия
a88e0373ef
променени са 1 файла, в които са добавени 0 реда и са изтрити 4 реда
  1. 0 4
      dwm.c

+ 0 - 4
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) {