hint for which system cursor to use as default

Co-Authored-By: Sam Lantinga <slouken@libsdl.org>
This commit is contained in:
expikrandSam Lantinga authored and Sam Lantinga committed 2024-11-25 13:08:37 -08:00
1 parent 3c13bae64f
commit d55e6dfc5e
10 files changed
+54 -34

No files matched your search

+2 -1
View File
@@ -75,7 +75,8 @@ static SDL_Cursor *Android_WrapCursor(int custom_cursor, int system_cursor)
static SDL_Cursor *Android_CreateDefaultCursor(void)
{
return Android_WrapCursor(0, SDL_SYSTEM_CURSOR_DEFAULT);
SDL_SystemCursor id = SDL_GetDefaultSystemCursor();
return Android_WrapCursor(0, id);
}
static SDL_Cursor *Android_CreateCursor(SDL_Surface *surface, int hot_x, int hot_y)