diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index 63dad261..c7402e90 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -95,7 +95,7 @@ local function get_parents(menu) end local function exec(menu, num, mouse_event) - cmd = menu.items[num].cmd + local cmd = menu.items[num].cmd if type(cmd) == "table" then if #cmd == 0 then return @@ -246,7 +246,7 @@ function clients(menu) menu.items = cls_t - m = new(menu) + local m = new(menu) m:show() return m end