1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +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

@@ -1161,6 +1161,12 @@ void DisplayServerWayland::process_events() {
}
}
#ifdef DBUS_ENABLED
if (portal_desktop) {
portal_desktop->process_file_dialog_callbacks();
}
#endif
wayland_thread.mutex.unlock();
Input::get_singleton()->flush_buffered_events();