mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
[DBus] Process file dialog callback in the main event loop instead of using deferred call.
This commit is contained in:
parent
7abe0c6014
commit
67d6be30a0
4 changed files with 53 additions and 19 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue