src/video/cocoa/SDL_cocoawindow.m
changeset 4811 d79939f20c45
parent 3688 6512cba48440
child 4862 7b1d35d98294
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Mon Jul 26 20:41:45 2010 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Mon Jul 26 21:48:53 2010 -0400
     1.3 @@ -28,6 +28,7 @@
     1.4  #include "../../events/SDL_windowevents_c.h"
     1.5  
     1.6  #include "SDL_cocoavideo.h"
     1.7 +#include "SDL_cocoashape.h"
     1.8  
     1.9  static __inline__ void ConvertNSRect(NSRect *r)
    1.10  {
    1.11 @@ -111,6 +112,7 @@
    1.12      NSRect rect = [_data->nswindow contentRectForFrameRect:[_data->nswindow frame]];
    1.13      w = (int)rect.size.width;
    1.14      h = (int)rect.size.height;
    1.15 +    Cocoa_ResizeWindowShape(_data->window);
    1.16      SDL_SendWindowEvent(_data->window, SDL_WINDOWEVENT_RESIZED, w, h);
    1.17  }
    1.18