Skip to content

Commit

Permalink
awful.menu: map KP_Enter similar to Return
Browse files Browse the repository at this point in the history
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: awesomeWM#3867

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
  • Loading branch information
sicelo committed Dec 23, 2024
1 parent 0f950cb commit bc607b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/awful/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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" } }


Expand Down

0 comments on commit bc607b5

Please # to comment.