X11: Fix arrow mouse cursor using right pointing instead of the default left pointing arrow
Fixes #2341
This commit is contained in:
parent
e33f882abc
commit
b235f411b0
@ -19,6 +19,9 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
|
|||||||
- A new :opt:`cursor_beam_thickness` option to control the thickness of the
|
- A new :opt:`cursor_beam_thickness` option to control the thickness of the
|
||||||
beam cursor (:iss:`2337`)
|
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]
|
0.16.0 [2020-01-28]
|
||||||
|
|||||||
2
glfw/x11_window.c
vendored
2
glfw/x11_window.c
vendored
@ -2692,7 +2692,7 @@ int _glfwPlatformCreateStandardCursor(_GLFWcursor* cursor, GLFWCursorShape shape
|
|||||||
int native = 0;
|
int native = 0;
|
||||||
#define C(name, val) case name: native = val; break;
|
#define C(name, val) case name: native = val; break;
|
||||||
switch(shape) {
|
switch(shape) {
|
||||||
C(GLFW_ARROW_CURSOR, XC_arrow);
|
C(GLFW_ARROW_CURSOR, XC_left_ptr);
|
||||||
C(GLFW_IBEAM_CURSOR, XC_xterm);
|
C(GLFW_IBEAM_CURSOR, XC_xterm);
|
||||||
C(GLFW_CROSSHAIR_CURSOR, XC_crosshair);
|
C(GLFW_CROSSHAIR_CURSOR, XC_crosshair);
|
||||||
C(GLFW_HAND_CURSOR, XC_hand2);
|
C(GLFW_HAND_CURSOR, XC_hand2);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user