invalidateCursorRects(for:)
Marks as invalid the cursor rectangles of a given view object in the window, so they’ll be set up again when the window becomes key.
Declaration
func invalidateCursorRects(for view: NSView)Parameters
- view:
The view in the window’s view hierarchy.
Discussion
If the window is current the key window, window resets the cursor rectangles immediately.