From 14912461adab15255f75673b9082d192fe550b62 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 1 Jun 2020 20:23:32 +0530 Subject: [PATCH] Use left_ptr as default arrow cursor on Wayland Matches X11. --- glfw/wl_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 4d061acc4..f8bca77f3 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -844,7 +844,7 @@ struct wl_cursor* _glfwLoadCursor(GLFWCursorShape shape, struct wl_cursor_theme* struct wl_cursor* ans = NULL; 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_CROSSHAIR_CURSOR, "crosshair", "cross") C(GLFW_HAND_CURSOR, "hand2", "grab", "grabbing", "closedhand") @@ -925,7 +925,7 @@ int _glfwPlatformCreateWindow(_GLFWwindow* window, void _glfwPlatformDestroyWindow(_GLFWwindow* window) { - if(window->wl.cursorTheme) { + if (window->wl.cursorTheme) { _wlCursorThemeManage(_glfw.wl.cursorThemeManager, window->wl.cursorTheme, 0);