Merge branch 'fix_tag_history_V2' of git://github.com/Elv13/awesome-1

This commit is contained in:
Uli Schlachter 2014-10-17 10:36:54 +02:00
commit f3874e2fc4
1 changed files with 7 additions and 5 deletions

View File

@ -178,11 +178,13 @@ function tag.history.update(obj)
else else
if data.history[s].current then if data.history[s].current then
-- Check that the list is not identical -- Check that the list is not identical
local identical = true local identical = #data.history[s].current == #curtags
for idx, _tag in ipairs(data.history[s].current) do if identical then
if curtags[idx] ~= _tag then for idx, _tag in ipairs(data.history[s].current) do
identical = false if curtags[idx] ~= _tag then
break identical = false
break
end
end end
end end