src/video/cocoa/SDL_cocoamouse.m
changeset 3525 455a6c47d2c6
parent 3517 e7eec78e4b92
child 3528 59ff7a2beb57
--- a/src/video/cocoa/SDL_cocoamouse.m	Sat Dec 05 19:46:24 2009 +0000
+++ b/src/video/cocoa/SDL_cocoamouse.m	Sat Dec 05 19:57:49 2009 +0000
@@ -68,7 +68,7 @@
 
         if (candidate) {
             SDL_DisplayData *displaydata = (SDL_DisplayData *)display->driverdata;
-            NSRect rect = CGDisplayBounds(displaydata->display);
+            NSRect rect = Cocoa_DisplayBounds(displaydata->display);
 
             point = [NSEvent mouseLocation];
             point.x = point.x - rect.origin.x;