mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
macOS: Feature-gate CGSSetWindowBackgroundBlurRadius
Behind the Cargo feature `private-apple-apis`.
This commit is contained in:
committed by
Simon Hausmann
parent
6b113977d8
commit
0ea5f3c875
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user