1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[DBus] Process file dialog callback in the main event loop instead of using deferred call.

This commit is contained in:
bruvzg
2024-04-23 18:33:33 +03:00
parent 7abe0c6014
commit 67d6be30a0
4 changed files with 53 additions and 19 deletions

View File

@@ -5097,6 +5097,12 @@ void DisplayServerX11::process_events() {
*/
}
#ifdef DBUS_ENABLED
if (portal_desktop) {
portal_desktop->process_file_dialog_callbacks();
}
#endif
_THREAD_SAFE_UNLOCK_
Input::get_singleton()->flush_buffered_events();