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