resetCursorRects()
Clears the window’s cursor rectangles and the cursor rectangles of the Nsview objects in its view hierarchy.
Declaration
func resetCursorRects()Discussion
Invokes discardCursorRects() to clear the window’s cursor rectangles, then sends resetCursorRects() to every NSView object in the window’s view hierarchy.
This method is typically invoked by the NSApplication object when it detects that the key window’s cursor rectangles are invalid. In program code, it’s more efficient to invoke invalidateCursorRects(for:).