Don't draw a square on the taglist for skipped windows
I tend to prefer to not see a square on the taglist for tags which only have skipped windows. E.g., if I run 'stalonetray --sticky -w/--skip-taskbar', in which case it appears on all tags but not on the tasklist, showing all of the tags as occupied seems somewhat awkward.
This commit is contained in:
parent
9fea26dda0
commit
95e348ab31
|
@ -20,6 +20,7 @@
|
|||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "client.h"
|
||||
#include "util.h"
|
||||
#include "widget.h"
|
||||
#include "tag.h"
|
||||
|
@ -39,7 +40,7 @@ isoccupied(Tag *t)
|
|||
Client *c;
|
||||
|
||||
for(c = globalconf.clients; c; c = c->next)
|
||||
if(is_client_tagged(c, t))
|
||||
if(is_client_tagged(c, t) && !c->skip)
|
||||
return True;
|
||||
return False;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue