Our application is a login item which runs inactive in background, and in some cases, it shows its popovers in NSModalPanelWindowLevel
over a window of an (unrelated) active application. That works well and without a glitch for years.
Now we'd like to change the mouse cursor when the mouse is over some subviews of our popover. Is there a way to do that?
I've tried essentially all the cursor-related APIs I know of, from the most obvious cursorRects
through trackingAreas
up to the low-level explicit NSCursor.push/set
, but whatever I do, looks like macOS simply ignores it and keeps showing the arrow default cursor, even though the mouse is over our window whose views have proper cursorRects
or explicitly call NSCursor.push/set
etc. Is there a trick to change the cursor in this case? Thanks!