diff --git a/clients/apple/Punktfunk.xcodeproj/xcshareddata/xcschemes/Punktfunk.xcscheme b/clients/apple/Punktfunk.xcodeproj/xcshareddata/xcschemes/Punktfunk.xcscheme index 7a855ba4..d994e08f 100644 --- a/clients/apple/Punktfunk.xcodeproj/xcshareddata/xcschemes/Punktfunk.xcscheme +++ b/clients/apple/Punktfunk.xcodeproj/xcshareddata/xcschemes/Punktfunk.xcscheme @@ -30,7 +30,7 @@ shouldAutocreateTestPlan = "YES"> 1.0 + // POTENTIAL, not current, headroom: `maximumExtendedDynamicRangeColorComponentValue` + // is the CURRENTLY-ALLOCATED headroom, which macOS hands out on demand — on an idle + // SDR desktop it reads 1.0 even with HDR enabled and active (external HDR displays + // like the Samsung G95SC allocate EDR only when content asks). Gating on it means an + // HDR monitor never gets advertised at connect time. `maximumPotential…` is the + // mode-independent capability (the macOS analogue of the tvOS/iOS gates below). + return (NSScreen.main?.maximumPotentialExtendedDynamicRangeColorComponentValue ?? 1.0) > 1.0 #elseif os(tvOS) // NOT the EDR headroom here: on tvOS that reflects the CURRENT output mode, and // Apple's recommended setup runs an SDR home screen with Match Content — an