X11: Use XKB key name MENU for Menu key

(cherry picked from commit 560304e0f4)
This commit is contained in:
Camilla Löwy 2020-03-31 17:00:43 +02:00
parent cf87e6549c
commit 4aaf8ba1d2
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ static void createKeyTables(void)
{ GLFW_KEY_RIGHT_CONTROL, "RCTL" },
{ GLFW_KEY_RIGHT_ALT, "RALT" },
{ GLFW_KEY_RIGHT_SUPER, "RWIN" },
{ GLFW_KEY_MENU, "COMP" }
{ GLFW_KEY_MENU, "MENU" }
};
// Find the X11 key code -> GLFW key code mapping