comparison src/video/cocoa/SDL_cocoawindow.m @ 2710:44e49d3fa6cf

Final merge of Google Summer of Code 2008 work... Many-mouse and tablet support by Szymon Wilczek, mentored by Ryan C. Gordon Everything concerning the project is noted on the wiki: http://wilku.ravenlord.ws/doku.php?id=start
author Sam Lantinga <slouken@libsdl.org>
date Mon, 25 Aug 2008 06:33:00 +0000
parents 003c1b5b07da
children 99210400e8b9
comparison
equal deleted inserted replaced
2709:fd3f0f1147e7 2710:44e49d3fa6cf
248 } 248 }
249 } else { 249 } else {
250 if (mouse->focus != _data->windowID) { 250 if (mouse->focus != _data->windowID) {
251 SDL_SetMouseFocus(index, _data->windowID); 251 SDL_SetMouseFocus(index, _data->windowID);
252 } 252 }
253 SDL_SendMouseMotion(index, 0, (int)point.x, (int)point.y); 253 SDL_SendMouseMotion(index, 0, (int)point.x, (int)point.y, 0);
254 } 254 }
255 } 255 }
256 256
257 - (void)mouseDragged:(NSEvent *)theEvent 257 - (void)mouseDragged:(NSEvent *)theEvent
258 { 258 {