From eb6cf4def909fc45e206289b908355d0a8836215 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 20 Aug 2002 00:24:38 +0000 Subject: [PATCH] Fixed mouse motion on MacOS X (recently broken) --- src/video/quartz/SDL_QuartzEvents.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/quartz/SDL_QuartzEvents.m b/src/video/quartz/SDL_QuartzEvents.m index cbcc0b6c1..8ced35057 100644 --- a/src/video/quartz/SDL_QuartzEvents.m +++ b/src/video/quartz/SDL_QuartzEvents.m @@ -449,6 +449,8 @@ static void QZ_PumpEvents (_THIS) NSPoint p = [ event locationInWindow ]; QZ_PrivateCocoaToSDL(this, &p); + SDL_PrivateMouseMotion (0, 0, p.x, p.y); + firstMouseEvent = 0; } else {