Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoaevents.m @ 5060:2170edcdfbd0
Fixed mouse button index for additional mouse buttons
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 20 Jan 2011 17:29:13 -0800 |
parents | bdff53ed6c8b |
children | b530ef003506 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoaevents.m Fri Jan 21 00:25:08 2011 +0100 +++ b/src/video/cocoa/SDL_cocoaevents.m Thu Jan 20 17:29:13 2011 -0800 @@ -201,8 +201,8 @@ case NSLeftMouseDragged: case NSRightMouseDragged: case NSOtherMouseDragged: /* usually middle mouse dragged */ + case NSMouseMoved: case NSScrollWheel: - case NSMouseMoved: Cocoa_HandleMouseEvent(_this, event); /* Pass through to NSApp to make sure everything stays in sync */ [NSApp sendEvent:event];