mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
X11: Use XKB key name MENU for Menu key
(cherry picked from commit 560304e0f4
)
This commit is contained in:
parent
cf87e6549c
commit
4aaf8ba1d2
@ -337,7 +337,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
|
||||||
|
Loading…
Reference in New Issue
Block a user