src/video/cocoa/SDL_cocoamouse.m
changeset 5405 64fa8526e1ce
parent 5391 06b239f48b91
child 5406 1517da4ab6b1
--- a/src/video/cocoa/SDL_cocoamouse.m	Sun Feb 27 21:17:06 2011 -0800
+++ b/src/video/cocoa/SDL_cocoamouse.m	Sun Feb 27 21:36:23 2011 -0800
@@ -120,15 +120,13 @@
 Cocoa_InitMouse(_THIS)
 {
     SDL_Mouse *mouse = SDL_GetMouse();
-    SDL_Cursor *cursor;
 
     mouse->CreateCursor = Cocoa_CreateCursor;
     mouse->ShowCursor = Cocoa_ShowCursor;
     mouse->WarpMouse = Cocoa_WarpMouse;
     mouse->FreeCursor = Cocoa_FreeCursor;
 
-    cursor = Cocoa_CreateDefaultCursor();
-    mouse->cursors = mouse->cur_cursor = cursor;
+    SDL_SetDefaultCursor(Cocoa_CreateDefaultCursor());
 }
 
 static int