diff --git a/lib/awful/util.lua.in b/lib/awful/util.lua.in index 3c113978..f2ff7697 100644 --- a/lib/awful/util.lua.in +++ b/lib/awful/util.lua.in @@ -339,7 +339,11 @@ end function table.clone(t) local c = { } for k, v in pairs(t) do - c[k] = v + if type(v) == "table" then + c[k] = table.clone(v) + else + c[k] = v + end end return c end