kettle11 / kapp

A pure Rust window and input library for Windows, Mac, and Web. (Work in progress)
Apache License 2.0
56 stars 4 forks source link

MacOS does not accept first mouse clicks in a window. #29

Open kettle11 opened 4 years ago

kettle11 commented 4 years ago

The NSView class used in the Window needs to be overridden to implement: acceptsFirstMouse:. See Apple docs here: https://developer.apple.com/documentation/appkit/nsview/1483410-acceptsfirstmouse?language=objc