I have a custom NSView called SurfaceView. It is the contentView of a NSWindow and it handles basic events like mouse click and drawing. But don\'t matters what I do, it doe
In addition to answer: Check in your IB checkbox for NSWindow.
NSWindow
Title Bar should be checked. It the similar to NSBorderlessWindowMask
Title Bar
NSBorderlessWindowMask