using double-linked list in order to get correct prev focus handling

This commit is contained in:
arg@10ksloc.org
2006-07-20 16:54:20 +02:00
parent 06dc514bc7
commit 72707c2fae
4 changed files with 45 additions and 21 deletions

7
tag.c

@ -140,6 +140,13 @@ getnext(Client *c, unsigned int t)
return c;
}
Client *
getprev(Client *c)
{
for(; c && !c->tags[tsel]; c = c->prev);
return c;
}
void
heretag(Arg *arg)
{