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