src/video/directfb/SDL_DirectFB_mouse.c
changeset 5490 352473883732
parent 5488 c20436fd5627
child 5535 96594ac5fd1a
--- a/src/video/directfb/SDL_DirectFB_mouse.c	Mon Mar 14 23:14:51 2011 -0700
+++ b/src/video/directfb/SDL_DirectFB_mouse.c	Mon Mar 14 23:16:05 2011 -0700
@@ -372,15 +372,13 @@
     SDL_DFB_DEVICEDATA(_this);
 
     SDL_Mouse *mouse = SDL_GetMouse();
-    SDL_Cursor *cursor;
 
     mouse->CreateCursor = DirectFB_CreateCursor;
     mouse->ShowCursor = DirectFB_ShowCursor;
     mouse->WarpMouse = DirectFB_WarpMouse;
     mouse->FreeCursor = DirectFB_FreeCursor;
 
-    cursor = DirectFB_CreateDefaultCursor();
-    mouse->cursors = mouse->cur_cursor = cursor;
+    SDL_SetDefaultCursor(DirectFB_CreateDefaultCursor());
 
     devdata->num_mice = 1;
 }