1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

[DisplayServer] Add separate feature flags for different native dialog types.

This commit is contained in:
bruvzg
2024-03-26 15:18:06 +02:00
parent 7d151c8381
commit dc01658ee9
11 changed files with 33 additions and 9 deletions

View File

@@ -210,8 +210,10 @@ bool DisplayServerWayland::has_feature(Feature p_feature) const {
return true;
} break;
//case FEATURE_NATIVE_DIALOG:
//case FEATURE_NATIVE_DIALOG_INPUT:
#ifdef DBUS_ENABLED
case FEATURE_NATIVE_DIALOG: {
case FEATURE_NATIVE_DIALOG_FILE: {
return true;
} break;
#endif