mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
fix(lib.awful.taglist): multiple tag selection
multiple tag selection wasn't highlighting properly when *_occupied is set in theme table
This commit is contained in:
parent
e3c594823a
commit
93905348cb
1 changed files with 4 additions and 4 deletions
|
@ -52,10 +52,6 @@ function taglist.taglist_label(t, args)
|
|||
local bg_resize = false
|
||||
local is_selected = false
|
||||
local cls = t:clients()
|
||||
if t.selected then
|
||||
bg_color = bg_focus
|
||||
fg_color = fg_focus
|
||||
end
|
||||
if sel then
|
||||
if taglist_squares_sel then
|
||||
-- Check that the selected clients is tagged with 't'.
|
||||
|
@ -97,6 +93,10 @@ function taglist.taglist_label(t, args)
|
|||
end
|
||||
end
|
||||
end
|
||||
if t.selected then
|
||||
bg_color = bg_focus
|
||||
fg_color = fg_focus
|
||||
end
|
||||
if not tag.getproperty(t, "icon_only") then
|
||||
if fg_color then
|
||||
text = text .. "<span color='"..util.color_strip_alpha(fg_color).."'>" ..
|
||||
|
|
Loading…
Reference in a new issue