Fixed Mac OS X build
This commit is contained in:
parent
6006d7a2cb
commit
10a234b88e
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ Cocoa_WarpMouseGlobal(int x, int y)
|
||||||
/* CGWarpMouseCursorPosition doesn't generate a window event, unlike our
|
/* CGWarpMouseCursorPosition doesn't generate a window event, unlike our
|
||||||
* other implementations' APIs.
|
* 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue