awful.titlebar: Unreference titlebars in unmanage
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
791794fa42
commit
69d96ba34d
|
@ -296,6 +296,10 @@ function titlebar.widget.stickybutton(c)
|
|||
return widget
|
||||
end
|
||||
|
||||
client.connect_signal("unmanage", function(c)
|
||||
all_titlebars[c] = nil
|
||||
end)
|
||||
|
||||
return setmetatable(titlebar, { __call = function(_, ...) return new(...) end})
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
|
|
Loading…
Reference in New Issue