summaryrefslogtreecommitdiff
path: root/platform/osx/godot_content_view.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/godot_content_view.mm')
-rw-r--r--platform/osx/godot_content_view.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/godot_content_view.mm b/platform/osx/godot_content_view.mm
index 76d9cfb081..e96f0a8098 100644
--- a/platform/osx/godot_content_view.mm
+++ b/platform/osx/godot_content_view.mm
@@ -281,7 +281,7 @@
}
DisplayServerOSX::WindowData &wd = ds->get_window(window_id);
- return !wd.no_focus;
+ return !wd.no_focus && !wd.is_popup;
}
- (BOOL)acceptsFirstResponder {