Merge pull request #102470 from Hilderin/fix-floating-window-close-opened-dialog
Fix Floating Window request close when a dialog is opened
This commit is contained in:
@ -679,6 +679,11 @@ Error DisplayServer::embed_process(WindowID p_window, OS::ProcessID p_pid, const
|
||||
return ERR_UNAVAILABLE;
|
||||
}
|
||||
|
||||
Error DisplayServer::request_close_embedded_process(OS::ProcessID p_pid) {
|
||||
WARN_PRINT("Embedded process not supported by this display server.");
|
||||
return ERR_UNAVAILABLE;
|
||||
}
|
||||
|
||||
Error DisplayServer::remove_embedded_process(OS::ProcessID p_pid) {
|
||||
WARN_PRINT("Embedded process not supported by this display server.");
|
||||
return ERR_UNAVAILABLE;
|
||||
|
||||
@ -577,6 +577,7 @@ public:
|
||||
virtual void enable_for_stealing_focus(OS::ProcessID pid);
|
||||
|
||||
virtual Error embed_process(WindowID p_window, OS::ProcessID p_pid, const Rect2i &p_rect, bool p_visible, bool p_grab_focus);
|
||||
virtual Error request_close_embedded_process(OS::ProcessID p_pid);
|
||||
virtual Error remove_embedded_process(OS::ProcessID p_pid);
|
||||
virtual OS::ProcessID get_focused_process_id();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user