mirror of https://github.com/encounter/SDL.git
Update Wayland cursors to match X11 cursors
This commit is contained in:
parent
9f4baeea53
commit
1c88a0522f
|
@ -241,31 +241,31 @@ wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorData *cdata, float
|
||||||
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "watch");
|
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "watch");
|
||||||
break;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_CROSSHAIR:
|
case SDL_SYSTEM_CURSOR_CROSSHAIR:
|
||||||
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
|
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "tcross");
|
||||||
break;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_WAITARROW:
|
case SDL_SYSTEM_CURSOR_WAITARROW:
|
||||||
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "watch");
|
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "watch");
|
||||||
break;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_SIZENWSE:
|
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;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_SIZENESW:
|
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;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_SIZEWE:
|
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;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_SIZENS:
|
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;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_SIZEALL:
|
case SDL_SYSTEM_CURSOR_SIZEALL:
|
||||||
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
|
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "fleur");
|
||||||
break;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_NO:
|
case SDL_SYSTEM_CURSOR_NO:
|
||||||
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "xterm");
|
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "pirate");
|
||||||
break;
|
break;
|
||||||
case SDL_SYSTEM_CURSOR_HAND:
|
case SDL_SYSTEM_CURSOR_HAND:
|
||||||
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand1");
|
cursor = WAYLAND_wl_cursor_theme_get_cursor(theme, "hand2");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
SDL_assert(0);
|
SDL_assert(0);
|
||||||
|
|
Loading…
Reference in New Issue