From b235f411b06f9ccf09a6bbfdf245f52f64ee24e5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 6 Feb 2020 21:11:09 +0530 Subject: [PATCH] X11: Fix arrow mouse cursor using right pointing instead of the default left pointing arrow Fixes #2341 --- docs/changelog.rst | 3 +++ glfw/x11_window.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 58b9fe24c..7cd6fe2ac 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -19,6 +19,9 @@ To update |kitty|, :doc:`follow the instructions `. - A new :opt:`cursor_beam_thickness` option to control the thickness of the beam cursor (:iss:`2337`) +- X11: Fix arrow mouse cursor using right pointing instead of the default left + pointing arrow (:iss:`2341`) + 0.16.0 [2020-01-28] diff --git a/glfw/x11_window.c b/glfw/x11_window.c index 102749ead..8a3a12b5e 100644 --- a/glfw/x11_window.c +++ b/glfw/x11_window.c @@ -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);