Fixed mouse motion on MacOS X (recently broken)
authorSam Lantinga <slouken@libsdl.org>
Tue, 20 Aug 2002 00:24:38 +0000
changeset 454 c4338ecf45f9
parent 453 a6fa62b1be09
child 455 a228badffb6c
Fixed mouse motion on MacOS X (recently broken)
src/video/quartz/SDL_QuartzEvents.m
--- 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 {