diff --git a/lib/awful/widget/taglist.lua.in b/lib/awful/widget/taglist.lua.in index 05256bf1..a6ec7f6d 100644 --- a/lib/awful/widget/taglist.lua.in +++ b/lib/awful/widget/taglist.lua.in @@ -172,11 +172,7 @@ end -- @param screen The screen we are drawing on. -- @return true if t is not empty, else false function filter.noempty(t, args) - if #t:clients() > 0 or t.selected then - return true - end - - return false + return #t:clients() > 0 or t.selected end --- Filtering function to include all tags on the screen.