diff --git a/lib/beautiful.lua.in b/lib/beautiful.lua.in index f0c09012..566612ae 100644 --- a/lib/beautiful.lua.in +++ b/lib/beautiful.lua.in @@ -27,8 +27,8 @@ module("beautiful") -- Local data local theme -local descs = {} -local fonts = {} +local descs = setmetatable({}, { __mode = 'k' }) +local fonts = setmetatable({}, { __mode = 'v' }) local active_font local function load_font(name)