Use left_ptr as default arrow cursor on Wayland

Matches X11.
This commit is contained in:
Kovid Goyal 2020-06-01 20:23:32 +05:30
parent a9f265e8b7
commit 14912461ad
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

2
glfw/wl_window.c vendored
View File

@ -844,7 +844,7 @@ struct wl_cursor* _glfwLoadCursor(GLFWCursorShape shape, struct wl_cursor_theme*
struct wl_cursor* ans = NULL; struct wl_cursor* ans = NULL;
switch (shape) switch (shape)
{ {
C(GLFW_ARROW_CURSOR, "arrow", "left_ptr", "default") C(GLFW_ARROW_CURSOR, "left_ptr", "arrow", "default")
C(GLFW_IBEAM_CURSOR, "xterm", "ibeam", "text") C(GLFW_IBEAM_CURSOR, "xterm", "ibeam", "text")
C(GLFW_CROSSHAIR_CURSOR, "crosshair", "cross") C(GLFW_CROSSHAIR_CURSOR, "crosshair", "cross")
C(GLFW_HAND_CURSOR, "hand2", "grab", "grabbing", "closedhand") C(GLFW_HAND_CURSOR, "hand2", "grab", "grabbing", "closedhand")