src/video/cocoa/SDL_cocoamouse.m
changeset 2710 44e49d3fa6cf
parent 1931 103c6fec2a60
child 2859 99210400e8b9
--- a/src/video/cocoa/SDL_cocoamouse.m	Mon Aug 25 05:30:28 2008 +0000
+++ b/src/video/cocoa/SDL_cocoamouse.m	Mon Aug 25 06:33:00 2008 +0000
@@ -32,7 +32,8 @@
     SDL_Mouse mouse;
 
     SDL_zero(mouse);
-    data->mouse = SDL_AddMouse(&mouse, -1);
+    data->mouse = SDL_AddMouse(&mouse, -1, "Mouse", 0, 0, 1);
+    SDL_SetMouseIndexId(data->mouse, data->mouse);
 }
 
 void