Actually set the cursor! :)
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 23:10:00 -0800
changeset 5387 03c79d46bf5c
parent 5386 762e67f81fc7
child 5388 6e586f65f8ef
Actually set the cursor! :)
src/video/cocoa/SDL_cocoamouse.m
--- a/src/video/cocoa/SDL_cocoamouse.m	Mon Feb 21 22:52:31 2011 -0800
+++ b/src/video/cocoa/SDL_cocoamouse.m	Mon Feb 21 23:10:00 2011 -0800
@@ -92,6 +92,9 @@
 
     if (SDL_GetMouseFocus()) {
         if (cursor) {
+            NSCursor *nscursor = (NSCursor *)cursor->driverdata;
+
+            [nscursor set];
             [NSCursor unhide];
         } else {
             [NSCursor hide];