Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzEvents.m @ 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 | 140798e1e7a6 |
children | 74262d2647ca |
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 {