X11: Use XKB key name MENU for Menu key

This commit is contained in:
Camilla Löwy 2020-03-31 17:00:43 +02:00
parent 9ecacf1d7f
commit 560304e0f4

View File

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