diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index 5505bfc8b..08addea13 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -296,7 +296,7 @@ function item_enter(menu, num, opts) end if type(item.cmd) == "table" then - menu:exec(num, otps) + menu:exec(num, opts) end end end diff --git a/lib/awful/widget/graph.lua.in b/lib/awful/widget/graph.lua.in index 1dd74386f..00e619c4c 100644 --- a/lib/awful/widget/graph.lua.in +++ b/lib/awful/widget/graph.lua.in @@ -53,7 +53,7 @@ local data = setmetatable({}, { __mode = "k" }) --- Set the graph to draw stacks. Default is false. -- @name set_stack -- @class function --- @param progressbar The graph. +-- @param graph The graph. -- @param stack A boolean value. --- Set the graph stacking colors. Order matters.