From 5bacb52ee3c1786bf2201ed975bc7702a976c924 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 3 Sep 2008 15:15:00 +0200 Subject: [PATCH] awful: refuse to set titlebar on no-normal windows Signed-off-by: Julien Danjou --- lib/awful.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful.lua.in b/lib/awful.lua.in index c3e715ca..76c05eec 100644 --- a/lib/awful.lua.in +++ b/lib/awful.lua.in @@ -1477,6 +1477,7 @@ end -- fg_focus: the foreground color for focused window. -- fg_focus: the background color for focused window. function titlebar.add(c, args) + if not c or c.type ~= "normal" then return end if not args then args = {} end -- Store colors titlebar.data[c] = {}