bug fix in focus_get_latest_client_for_tags: restore tags on each roll
This commit is contained in:
parent
56596cc24d
commit
629f2efb83
3
focus.c
3
focus.c
|
@ -99,9 +99,10 @@ static Client *
|
||||||
focus_get_latest_client_for_tags(Tag **t)
|
focus_get_latest_client_for_tags(Tag **t)
|
||||||
{
|
{
|
||||||
FocusList *fl;
|
FocusList *fl;
|
||||||
|
Tag **tags;
|
||||||
|
|
||||||
for(fl = globalconf.focus; fl; fl = fl->prev)
|
for(fl = globalconf.focus; fl; fl = fl->prev)
|
||||||
for(; *t; t++)
|
for(tags = t; *tags; tags++)
|
||||||
if(is_client_tagged(fl->client, *t))
|
if(is_client_tagged(fl->client, *t))
|
||||||
return fl->client;
|
return fl->client;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue