Skip to content

Commit

Permalink
Fixed Mac OS X build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 4, 2014
1 parent 45ed5ee commit 1e00c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/cocoa/SDL_cocoamouse.m
Expand Up @@ -261,7 +261,7 @@ + (NSCursor *)invisibleCursor
/* CGWarpMouseCursorPosition doesn't generate a window event, unlike our
* other implementations' APIs.
*/
SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 0, x - mouse->focus.x, y - mouse->focus.y);
SDL_SendMouseMotion(mouse->focus, mouse->mouseID, 0, x - mouse->focus->x, y - mouse->focus->y);
}
}

Expand Down

0 comments on commit 1e00c03

Please sign in to comment.