awful.widget.tasklist: fix hide usage

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-21 21:03:57 +02:00
parent 933c958220
commit e25a8ba6f4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ local function tasklist_update(w, buttons, label, data, widgets)
local clients = capi.client.get()
local shownclients = {}
for k, c in ipairs(clients) do
if not (c.skip_taskbar or c.hide
if not (c.skip_taskbar or c.hidden
or c.type == "splash" or c.type == "dock" or c.type == "desktop") then
table.insert(shownclients, c)
end