taglist: Add spacing support

This commit is contained in:
Emmanuel Lepage Vallee 2016-08-05 00:46:19 -04:00
parent 549d68dcc5
commit 00ee99851b
1 changed files with 4 additions and 0 deletions

View File

@ -177,6 +177,10 @@ function taglist.new(screen, filter, buttons, style, update_function, base_widge
local uf = update_function or common.list_update local uf = update_function or common.list_update
local w = base_widget or fixed.horizontal() local w = base_widget or fixed.horizontal()
if w.set_spacing and (style and style.spacing or beautiful.taglist_spacing) then
w:set_spacing(style and style.spacing or beautiful.taglist_spacing)
end
local data = setmetatable({}, { __mode = 'k' }) local data = setmetatable({}, { __mode = 'k' })
local queued_update = {} local queued_update = {}