using double-linked list in order to get correct prev focus handling
This commit is contained in:
parent
06dc514bc7
commit
72707c2fae
4 changed files with 45 additions and 21 deletions
7
tag.c
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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue