mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Merge branch 'fix_tag_history_V2' of git://github.com/Elv13/awesome-1
This commit is contained in:
commit
f3874e2fc4
1 changed files with 7 additions and 5 deletions
|
@ -178,11 +178,13 @@ function tag.history.update(obj)
|
|||
else
|
||||
if data.history[s].current then
|
||||
-- Check that the list is not identical
|
||||
local identical = true
|
||||
for idx, _tag in ipairs(data.history[s].current) do
|
||||
if curtags[idx] ~= _tag then
|
||||
identical = false
|
||||
break
|
||||
local identical = #data.history[s].current == #curtags
|
||||
if identical then
|
||||
for idx, _tag in ipairs(data.history[s].current) do
|
||||
if curtags[idx] ~= _tag then
|
||||
identical = false
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue