macOS: Feature-gate CGSSetWindowBackgroundBlurRadius

Behind the Cargo feature `private-apple-apis`.
This commit is contained in:
Mads Marquart
2026-03-24 15:18:49 +01:00
committed by Simon Hausmann
parent 6b113977d8
commit 0ea5f3c875
7 changed files with 30 additions and 24 deletions

View File

@@ -879,6 +879,7 @@ pub trait Window: AsAny + Send + Sync + fmt::Debug {
///
/// ## Platform-specific
///
/// - **macOS**: Must enable the `private-apple-apis` Cargo feature.
/// - **Android / iOS / X11 / Web / Windows:** Unsupported.
/// - **Wayland:** Only works with `org_kde_kwin_blur_manager` or
/// `ext_background_effect_manager_v1` protocol.