You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix Modal Dialog with Embedded Game
This commit is contained in:
@@ -37,7 +37,7 @@ class EmbeddedProcess : public Control {
|
||||
GDCLASS(EmbeddedProcess, Control);
|
||||
|
||||
bool application_has_focus = true;
|
||||
bool embedded_process_was_focused = false;
|
||||
uint64_t last_application_focus_time = 0;
|
||||
OS::ProcessID focused_process_id = 0;
|
||||
OS::ProcessID current_process_id = 0;
|
||||
bool embedding_grab_focus = false;
|
||||
@@ -68,6 +68,7 @@ class EmbeddedProcess : public Control {
|
||||
void _check_focused_process_id();
|
||||
bool _is_embedded_process_updatable();
|
||||
Rect2i _get_global_embedded_window_rect();
|
||||
Window *_get_current_modal_window();
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
|
||||
Reference in New Issue
Block a user