tag.c
changeset 127 1480e19f6377
parent 125 b4b8b4236599
child 130 30d1302dbe3b
equal deleted inserted replaced
126:1489f6b97714 127:1480e19f6377
   135 
   135 
   136 Client *
   136 Client *
   137 getnext(Client *c, unsigned int t)
   137 getnext(Client *c, unsigned int t)
   138 {
   138 {
   139 	for(; c && !c->tags[t]; c = c->next);
   139 	for(; c && !c->tags[t]; c = c->next);
       
   140 	return c;
       
   141 }
       
   142 
       
   143 Client *
       
   144 getprev(Client *c)
       
   145 {
       
   146 	for(; c && !c->tags[tsel]; c = c->prev);
   140 	return c;
   147 	return c;
   141 }
   148 }
   142 
   149 
   143 void
   150 void
   144 heretag(Arg *arg)
   151 heretag(Arg *arg)