awful.menu: map KP_Enter similar to Return

In Awesome's menu system, the KP_Enter key is currently used the same
as the Right key (to descend into a child menu). This is unexpected,
since in general, users expect KP_Enter to work similar to the Return
key (to run the highlighted action/command). This commit corrects that
behavior.

Related: https://github.com/awesomeWM/awesome/issues/3867

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
This commit is contained in:
Sicelo A. Mhlongo 2024-12-23 22:34:19 +02:00
parent 0f950cbb62
commit e91a5121bb
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ end
menu.menu_keys = { up = { "Up", "k" },
down = { "Down", "j" },
back = { "Left", "h" },
exec = { "Return" },
enter = { "Right", "l", "KP_Enter" },
exec = { "Return" , "KP_Enter" },
enter = { "Right", "l" },
close = { "Escape" } }