--- a/src/video/cocoa/SDL_cocoawindow.m Mon Jul 26 20:41:45 2010 -0400
+++ b/src/video/cocoa/SDL_cocoawindow.m Mon Jul 26 21:48:53 2010 -0400
@@ -28,6 +28,7 @@
#include "../../events/SDL_windowevents_c.h"
#include "SDL_cocoavideo.h"
+#include "SDL_cocoashape.h"
static __inline__ void ConvertNSRect(NSRect *r)
{
@@ -111,6 +112,7 @@
NSRect rect = [_data->nswindow contentRectForFrameRect:[_data->nswindow frame]];
w = (int)rect.size.width;
h = (int)rect.size.height;
+ Cocoa_ResizeWindowShape(_data->window);
SDL_SendWindowEvent(_data->window, SDL_WINDOWEVENT_RESIZED, w, h);
}