aewl

diff tag.c @ 142:9b9deafa0508

committed a patch which fixes the hints of Jukka
author arg@10ksloc.org
date Tue, 01 Aug 2006 11:49:19 +0200
parents c1185dc7a36e
children 36cabfe408cd
line diff
     1.1 --- a/tag.c	Fri Jul 21 21:15:39 2006 +0200
     1.2 +++ b/tag.c	Tue Aug 01 11:49:19 2006 +0200
     1.3 @@ -63,7 +63,7 @@
     1.4  			ban(c);
     1.5  	}
     1.6  	if(sel && !sel->tags[tsel]) {
     1.7 -		if((sel = getnext(clients, tsel))) {
     1.8 +		if((sel = getnext(clients))) {
     1.9  			higher(sel);
    1.10  			focus(sel);
    1.11  		}
    1.12 @@ -126,7 +126,7 @@
    1.13  			ban(c);
    1.14  	}
    1.15  	if(!sel || (sel && !sel->tags[tsel])) {
    1.16 -		if((sel = getnext(clients, tsel))) {
    1.17 +		if((sel = getnext(clients))) {
    1.18  			higher(sel);
    1.19  			focus(sel);
    1.20  		}
    1.21 @@ -135,9 +135,9 @@
    1.22  }
    1.23  
    1.24  Client *
    1.25 -getnext(Client *c, unsigned int t)
    1.26 +getnext(Client *c)
    1.27  {
    1.28 -	for(; c && !c->tags[t]; c = c->next);
    1.29 +	for(; c && !c->tags[tsel]; c = c->next);
    1.30  	return c;
    1.31  }
    1.32