From c66e28c7d94238705decc6bbd3a6876e729d3231 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 5 Sep 2008 01:40:10 +0200 Subject: [PATCH] tasklist: ignore some windows type Signed-off-by: Julien Danjou --- widgets/tasklist.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/widgets/tasklist.c b/widgets/tasklist.c index d1af30898..2aa78db18 100644 --- a/widgets/tasklist.c +++ b/widgets/tasklist.c @@ -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);