diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index cbaed182..c2cd1d32 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -256,6 +256,7 @@ function tag.gettags(s) for _, t in ipairs(tags) do if not tag.getproperty(t, "index") then tag.setproperty(t, "index", (#tags - without_index + 1)) + without_index = without_index - 1 end end end