winit-wayland: use ext-background-effect if available

A more modern protocol compared to the KDE one.
This commit is contained in:
Kirill Chibisov 2026-04-04 23:59:33 +09:00 committed by Ashley Wulber
parent a610ac9c7a
commit 261cda5401
7 changed files with 199 additions and 30 deletions

View file

@ -881,7 +881,8 @@ pub trait Window: AsAny + Send + Sync + fmt::Debug {
/// ## Platform-specific
///
/// - **Android / iOS / X11 / Web / Windows:** Unsupported.
/// - **Wayland:** Only works with org_kde_kwin_blur_manager protocol.
/// - **Wayland:** Only works with `org_kde_kwin_blur_manager` or
/// `ext_background_effect_manager_v1` protocol.
fn set_blur(&self, blur: bool);
/// Modifies the window's visibility.