From 93905348cbd0859eb7f9268b5e581a1cadd221d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ev=C5=BEen?= Date: Fri, 13 Jun 2014 13:36:30 +0200 Subject: [PATCH] fix(lib.awful.taglist): multiple tag selection multiple tag selection wasn't highlighting properly when *_occupied is set in theme table --- lib/awful/widget/taglist.lua.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/awful/widget/taglist.lua.in b/lib/awful/widget/taglist.lua.in index fb6abe07..f317e861 100644 --- a/lib/awful/widget/taglist.lua.in +++ b/lib/awful/widget/taglist.lua.in @@ -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 .. "" ..