1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Wayland: Fix pointing hand cursor shape

Related to #1432.

(cherry picked from commit 80fde12fda)
This commit is contained in:
Camilla Löwy 2019-05-17 18:30:02 +02:00
parent 50218fbf7e
commit df4bda44fc
2 changed files with 2 additions and 1 deletions

View File

@ -136,6 +136,7 @@ information on what to include when reporting a bug.
(#1462,#1528) (#1462,#1528)
- [X11] Bugfix: Decorations could not be enabled after window creation (#1566) - [X11] Bugfix: Decorations could not be enabled after window creation (#1566)
- [X11] Bugfix: Content scale fallback value could be inconsistent (#1578) - [X11] Bugfix: Content scale fallback value could be inconsistent (#1578)
- [Wayland] Bugfix: The `GLFW_HAND_CURSOR` shape used the wrong image (#1432)
## Contact ## Contact

View File

@ -904,7 +904,7 @@ static char *translateCursorShape(int shape)
case GLFW_CROSSHAIR_CURSOR: case GLFW_CROSSHAIR_CURSOR:
return "crosshair"; return "crosshair";
case GLFW_HAND_CURSOR: case GLFW_HAND_CURSOR:
return "grabbing"; return "hand2";
case GLFW_HRESIZE_CURSOR: case GLFW_HRESIZE_CURSOR:
return "sb_h_double_arrow"; return "sb_h_double_arrow";
case GLFW_VRESIZE_CURSOR: case GLFW_VRESIZE_CURSOR: