NSWindow with fullSizeContentView: passes through window drag/double-click events

Hi!

I've got an NSWindow with fullSizeContentView, and some interactive content at the top. I have noticed that the top-level NSView is still receiving events via mouseDown/etc when dragging or double-clicking the window's title area.

I expected these events to be delayed by the window server, and not delivered if they resulted in a window move/title double-click.

Anyone have an idea about how to achieve this behaviour? As-is, when dragging the window, UI elements are being activated unexpectedly.

Best, Michael

NSWindow with fullSizeContentView: passes through window drag/double-click events
 
 
Q