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:
Nikos Ntarmos 2008-01-08 16:24:38 +02:00 committed by Julien Danjou
parent 9fea26dda0
commit 95e348ab31
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}