From 3e3c26c019f4566476b3ebf70a86412b8764f38d Mon Sep 17 00:00:00 2001 From: Yves Frederix Date: Sun, 11 Apr 2010 12:37:14 +0200 Subject: [PATCH] awful.menu: add item_enter in access key handling Signed-off-by: Julien Danjou --- lib/awful/menu.lua.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index 72d6a5667..95ad2a149 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -157,8 +157,9 @@ end local function check_access_key(menu, key) for i, item in pairs(menu.items) do if item.akey == key then - exec(menu, i) - return + item_enter(menu, i) + exec(menu, i) + return end end if menu.parent then