awful.menu: add item_enter in access key handling
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0179eb3d9b
commit
3e3c26c019
|
@ -157,6 +157,7 @@ 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
|
||||||
|
item_enter(menu, i)
|
||||||
exec(menu, i)
|
exec(menu, i)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue