From e91a5121bb91937670c7e0ac89f26b0f8806dc79 Mon Sep 17 00:00:00 2001 From: "Sicelo A. Mhlongo" Date: Mon, 23 Dec 2024 22:34:19 +0200 Subject: [PATCH] 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 --- lib/awful/menu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/menu.lua b/lib/awful/menu.lua index 788a23a02..5c4be0ac9 100644 --- a/lib/awful/menu.lua +++ b/lib/awful/menu.lua @@ -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" } }