awful.titlebar: allow titlebar on dialogs (FS#439)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-02-02 09:28:45 +01:00
parent 2a2ce6e83e
commit e0a5995fe6
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ local data = otable()
-- fg_focus: the background color for focused window.
-- width: the titlebar width
function add(c, args)
if not c or c.type ~= "normal" then return end
if not c or (c.type ~= "normal" and c.type ~= "dialog") then return end
if not args then args = {} end
local theme = beautiful.get()
-- Store colors