awful.menu: add item_enter in access key handling
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
499da45edb
commit
0710031f1e
|
@ -157,8 +157,9 @@ end
|
||||||
local function check_access_key(menu, key)
|
local function check_access_key(menu, key)
|
||||||
for i, item in pairs(menu.items) do
|
for i, item in pairs(menu.items) do
|
||||||
if item.akey == key then
|
if item.akey == key then
|
||||||
exec(menu, i)
|
item_enter(menu, i)
|
||||||
return
|
exec(menu, i)
|
||||||
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if menu.parent then
|
if menu.parent then
|
||||||
|
|
Loading…
Reference in New Issue