Grey border around view when using NSBorderlessWindowMask
问题 I'm having the exact same problem as in this question: Gray border when using NSBorderlessWindowMask However, the accepted answer (as in the comments) of removing the window shadow doesn't seem to work, at least on Lion. I've subclassed NSWindow , and created a borderless window in this manner: -(id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag { self = [super initWithContentRect:contentRect styleMask: