SDL_SetCursor man page
SDL_SetCursor — Set the currently active mouse cursor.
void SDL_SetCursor(SDL_Cursor *cursor);
Sets the currently active cursor to the specified one. If the cursor is currently visible, the change will be immediately represented on the display.
SDL_GetCursor, SDL_CreateCursor, SDL_ShowCursor