[3.x] Backport nonexclusive fullscreen mode.

This commit is contained in:
Pāvels Nadtočajevs
2025-06-16 10:25:08 +03:00
parent 6c3f393623
commit 62e7304ffe
9 changed files with 113 additions and 11 deletions

View File

@@ -1082,6 +1082,7 @@ ProjectSettings::ProjectSettings() {
GLOBAL_DEF("display/window/size/resizable", true);
GLOBAL_DEF("display/window/size/borderless", false);
GLOBAL_DEF("display/window/size/fullscreen", false);
GLOBAL_DEF("display/window/size/use_nonexclusive_fullscreen", false);
GLOBAL_DEF("display/window/size/always_on_top", false);
GLOBAL_DEF("display/window/size/test_width", 0);
ProjectSettings::get_singleton()->set_custom_property_info("display/window/size/test_width", PropertyInfo(Variant::INT, "display/window/size/test_width", PROPERTY_HINT_RANGE, "0,7680,1,or_greater")); // 8K resolution