Mercurial > sdl-ios-xcode
changeset 454:c4338ecf45f9
Fixed mouse motion on MacOS X (recently broken)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 20 Aug 2002 00:24:38 +0000 |
parents | a6fa62b1be09 |
children | a228badffb6c |
files | src/video/quartz/SDL_QuartzEvents.m |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzEvents.m Tue Aug 20 00:20:06 2002 +0000 +++ b/src/video/quartz/SDL_QuartzEvents.m Tue Aug 20 00:24:38 2002 +0000 @@ -449,6 +449,8 @@ NSPoint p = [ event locationInWindow ]; QZ_PrivateCocoaToSDL(this, &p); + SDL_PrivateMouseMotion (0, 0, p.x, p.y); + firstMouseEvent = 0; } else {