Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
453:a6fa62b1be09 | 454:c4338ecf45f9 |
---|---|
447 * since everything after this uses deltas | 447 * since everything after this uses deltas |
448 **/ | 448 **/ |
449 NSPoint p = [ event locationInWindow ]; | 449 NSPoint p = [ event locationInWindow ]; |
450 QZ_PrivateCocoaToSDL(this, &p); | 450 QZ_PrivateCocoaToSDL(this, &p); |
451 | 451 |
452 SDL_PrivateMouseMotion (0, 0, p.x, p.y); | |
453 | |
452 firstMouseEvent = 0; | 454 firstMouseEvent = 0; |
453 } | 455 } |
454 else { | 456 else { |
455 | 457 |
456 /** | 458 /** |