Fixed Mac OS X build
authorSam Lantinga <slouken@libsdl.org>
Wed, 04 Jun 2014 10:56:17 -0700
changeset 88167e2f5d693149
parent 8815 c6d0a457f3b2
child 8817 13003597b6c4
Fixed Mac OS X build
src/video/cocoa/SDL_cocoamouse.m
     1.1 --- a/src/video/cocoa/SDL_cocoamouse.m	Wed Jun 04 10:55:26 2014 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoamouse.m	Wed Jun 04 10:56:17 2014 -0700
     1.3 @@ -261,7 +261,7 @@
     1.4          /* CGWarpMouseCursorPosition doesn't generate a window event, unlike our
     1.5           * other implementations' APIs.
     1.6           */
     1.7 -        SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 0, x - mouse->focus.x, y - mouse->focus.y);
     1.8 +        SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 0, x - mouse->focus->x, y - mouse->focus->y);
     1.9      }
    1.10  }
    1.11