I have a window in which I want users to be able to navigate by dragging anywhere in the contents of the window (and not just the title bar). I know that this can be done using the NSWindow movableByWindowBackground method NSWindow movableByWindowBackground , however this does not seem to work on its own.
I compile that an NSView mouseDownCanMoveWindow override of NSView mouseDownCanMoveWindow may be required. But I cannot easily do this for all parent views (split views, etc.). Creating a texture window did not help. Not surprisingly, subclassing NSWindow to override isMovableByWindowBackground did not help either.
Is it really necessary to subclass all parent views in a window to make this work?
source share