I would like to find a mouse in NSWindow. In fact, I want to add functionality to the whole system by detecting a click on any NSWindow header line. However, I don't see access to anything like a title bar or chrome in NSWindow. I suppose I could listen to any click and do the math to determine if there was a click in the title bar depending on the size and location of the window, but I wanted to know if there is a better way. Thanks!
source share