awful.titlebar: allow titlebar on dialogs (FS#439)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
2a2ce6e83e
commit
e0a5995fe6
|
@ -37,7 +37,7 @@ local data = otable()
|
||||||
-- fg_focus: the background color for focused window.
|
-- fg_focus: the background color for focused window.
|
||||||
-- width: the titlebar width
|
-- width: the titlebar width
|
||||||
function add(c, args)
|
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
|
if not args then args = {} end
|
||||||
local theme = beautiful.get()
|
local theme = beautiful.get()
|
||||||
-- Store colors
|
-- Store colors
|
||||||
|
|
Loading…
Reference in New Issue