From 0710031f1e6f940711d53ae3f89d51e2dca35d6e 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 72d6a566..95ad2a14 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