소스 검색

Wayland: Fix pointing hand cursor shape

Related to #1432.

(cherry picked from commit 80fde12fdade85a39c5c1300d0a29200691fdc23)
Camilla Löwy 6 년 전
부모
커밋
df4bda44fc
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      README.md
  2. 1 1
      src/wl_window.c

+ 1 - 0
README.md

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

+ 1 - 1
src/wl_window.c

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