diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index 3c113978..a871c82a 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -326,7 +326,7 @@ function table.reverse(t) end -- add the remaining elements for k, v in pairs(t) do - if type(v) ~= "number" then + if type(k) ~= "number" then tr[k] = v end end