From e0a5995fe643000c612a5bde3194fbd2c51ad119 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 2 Feb 2009 09:28:45 +0100 Subject: [PATCH] awful.titlebar: allow titlebar on dialogs (FS#439) Signed-off-by: Julien Danjou --- lib/awful/titlebar.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/titlebar.lua.in b/lib/awful/titlebar.lua.in index 2220ef5f..6abfc0d5 100644 --- a/lib/awful/titlebar.lua.in +++ b/lib/awful/titlebar.lua.in @@ -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