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