X11: Fix arrow mouse cursor using right pointing instead of the default left pointing arrow

Fixes #2341
This commit is contained in:
Kovid Goyal
2020-02-06 21:11:09 +05:30
parent e33f882abc
commit b235f411b0
2 changed files with 4 additions and 1 deletions

2
glfw/x11_window.c vendored
View File

@@ -2692,7 +2692,7 @@ int _glfwPlatformCreateStandardCursor(_GLFWcursor* cursor, GLFWCursorShape shape
int native = 0;
#define C(name, val) case name: native = val; break;
switch(shape) {
C(GLFW_ARROW_CURSOR, XC_arrow);
C(GLFW_ARROW_CURSOR, XC_left_ptr);
C(GLFW_IBEAM_CURSOR, XC_xterm);
C(GLFW_CROSSHAIR_CURSOR, XC_crosshair);
C(GLFW_HAND_CURSOR, XC_hand2);