Skip to content

Commit f009815

Browse files
authored
awful.menu: map KP_Enter similar to Return (#3979)
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: #3867 Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
1 parent 691e364 commit f009815

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/awful/menu.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ end
107107
menu.menu_keys = { up = { "Up", "k" },
108108
down = { "Down", "j" },
109109
back = { "Left", "h" },
110-
exec = { "Return" },
111-
enter = { "Right", "l", "KP_Enter" },
110+
exec = { "Return" , "KP_Enter" },
111+
enter = { "Right", "l" },
112112
close = { "Escape" } }
113113

114114

0 commit comments

Comments
 (0)