tag.c
changeset 142 9b9deafa0508
parent 138 c1185dc7a36e
child 143 36cabfe408cd
--- a/tag.c	Fri Jul 21 21:15:39 2006 +0200
+++ b/tag.c	Tue Aug 01 11:49:19 2006 +0200
@@ -63,7 +63,7 @@
 			ban(c);
 	}
 	if(sel && !sel->tags[tsel]) {
-		if((sel = getnext(clients, tsel))) {
+		if((sel = getnext(clients))) {
 			higher(sel);
 			focus(sel);
 		}
@@ -126,7 +126,7 @@
 			ban(c);
 	}
 	if(!sel || (sel && !sel->tags[tsel])) {
-		if((sel = getnext(clients, tsel))) {
+		if((sel = getnext(clients))) {
 			higher(sel);
 			focus(sel);
 		}
@@ -135,9 +135,9 @@
 }
 
 Client *
-getnext(Client *c, unsigned int t)
+getnext(Client *c)
 {
-	for(; c && !c->tags[t]; c = c->next);
+	for(; c && !c->tags[tsel]; c = c->next);
 	return c;
 }