tasklist: ignore some windows type

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-05 01:40:10 +02:00
parent c9b6fe9604
commit c66e28c7d9
1 changed files with 4 additions and 1 deletions

View File

@ -215,7 +215,10 @@ tasklist_draw(draw_context_t *ctx, int screen,
client_label_array_init(&odata->client_labels);
for(c = globalconf.clients; c; c = c->next)
if(!c->skiptb)
if(!c->skiptb
&& c->type != WINDOW_TYPE_SPLASH
&& c->type != WINDOW_TYPE_DOCK
&& c->type != WINDOW_TYPE_DESKTOP)
{
/* push client */
luaA_client_userdata_new(globalconf.L, c);