Update Wayland cursors to match X11 cursors
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
diff --git a/src/video/wayland/SDL_waylandmouse.c b/src/video/wayland/SDL_waylandmouse.c
index 4b3d6f7..a0f9d0e 100644
--- a/src/video/wayland/SDL_waylandmouse.c
+++ b/src/video/wayland/SDL_waylandmouse.c
@@ -241,31 +241,31 @@ wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorData *cdata, float
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "watch");
break;
case SDL_SYSTEM_CURSOR_CROSSHAIR:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "tcross");
break;
case SDL_SYSTEM_CURSOR_WAITARROW:
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "watch");
break;
case SDL_SYSTEM_CURSOR_SIZENWSE:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "top_left_corner");
break;
case SDL_SYSTEM_CURSOR_SIZENESW:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "top_right_corner");
break;
case SDL_SYSTEM_CURSOR_SIZEWE:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "sb_h_double_arrow");
break;
case SDL_SYSTEM_CURSOR_SIZENS:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "sb_v_double_arrow");
break;
case SDL_SYSTEM_CURSOR_SIZEALL:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "fleur");
break;
case SDL_SYSTEM_CURSOR_NO:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "xterm");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "pirate");
break;
case SDL_SYSTEM_CURSOR_HAND:
- cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
+ cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand2");
break;
default:
SDL_assert(0);