src/video/cocoa/SDL_cocoamouse.m
changeset 6301 e8a69c5378e7
parent 6138 4c64952a58fb
child 6676 4ff261ffaa42
     1.1 --- a/src/video/cocoa/SDL_cocoamouse.m	Fri Feb 03 23:08:48 2012 +1300
     1.2 +++ b/src/video/cocoa/SDL_cocoamouse.m	Fri Feb 03 23:53:51 2012 +1300
     1.3 @@ -92,15 +92,13 @@
     1.4  {
     1.5      NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
     1.6  
     1.7 -    if (SDL_GetMouseFocus()) {
     1.8 -        if (cursor) {
     1.9 -            NSCursor *nscursor = (NSCursor *)cursor->driverdata;
    1.10 +    if (cursor) {
    1.11 +        NSCursor *nscursor = (NSCursor *)cursor->driverdata;
    1.12  
    1.13 -            [nscursor set];
    1.14 -            [NSCursor unhide];
    1.15 -        } else {
    1.16 -            [NSCursor hide];
    1.17 -        }
    1.18 +        [nscursor set];
    1.19 +        [NSCursor unhide];
    1.20 +    } else {
    1.21 +        [NSCursor hide];
    1.22      }
    1.23  
    1.24      [pool release];