src/video/cocoa/SDL_cocoawindow.m
changeset 5059 00d1fef487c5
parent 5057 bdff53ed6c8b
child 5061 9e9940eae455
--- a/src/video/cocoa/SDL_cocoawindow.m	Thu Jan 20 17:11:22 2011 -0800
+++ b/src/video/cocoa/SDL_cocoawindow.m	Fri Jan 21 00:25:08 2011 +0100
@@ -232,6 +232,9 @@
     SDL_Window *window = _data->window;
     NSPoint point;
 
+    if (window->flags & SDL_WINDOW_FULLSCREEN)
+        return;
+
     point = [theEvent locationInWindow];
     point.y = window->h - point.y;
     if ( point.x < 0 || point.x >= window->w ||