From 7a812fe28d624349e930203863753415f8d8ea49 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 62951c9ba..e99514a22 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 .. "" ..