mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
Fix Modal Dialog with Embedded Game
This commit is contained in:
parent
f0f5319b0b
commit
a9e06b8f64
3 changed files with 68 additions and 29 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue