[scratch] Fix scratch client does not get focus in task list (FS#142)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
4bfcfc5a9b
commit
4ae523c531
4
focus.c
4
focus.c
|
@ -74,7 +74,9 @@ focus_get_latest_client_for_tags(Tag **t, int nindex)
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
for(node = globalconf.focus; node; node = node->next)
|
for(node = globalconf.focus; node; node = node->next)
|
||||||
if(node->client && !node->client->skip && node->client != globalconf.scratch.client)
|
if(node->client && !node->client->skip
|
||||||
|
&& node->client != globalconf.scratch.client
|
||||||
|
|| globalconf.scratch.isvisible)
|
||||||
for(tags = t; *tags; tags++)
|
for(tags = t; *tags; tags++)
|
||||||
if(is_client_tagged(node->client, *tags))
|
if(is_client_tagged(node->client, *tags))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue