Skip to content
Permalink
Browse files

Fixed Mac OS X build

  • Loading branch information
slouken committed Jun 4, 2014
1 parent 45ed5ee commit 1e00c03f14dd30ace20e48fafdf7990835becbf9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoamouse.m
@@ -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);
}
}

0 comments on commit 1e00c03

Please sign in to comment.