awful: refuse to set titlebar on no-normal windows
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8b21d64df6
commit
5bacb52ee3
|
@ -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] = {}
|
||||
|
|
Loading…
Reference in New Issue