macOS: Process first click event without requiring focus
@@ -68,6 +68,10 @@
@implementation GodotContentView
+- (BOOL)acceptsFirstMouse:(NSEvent *)event {
+ return YES;
+}
+
- (void)setFrameSize:(NSSize)newSize {
DisplayServerMacOS *ds = (DisplayServerMacOS *)DisplayServer::get_singleton();
if (ds && ds->has_window(window_id)) {