mirror of
https://github.com/storytold/winit.git
synced 2026-11-30 18:26:33 +01:00
The `wayland` feature, which is on by default, enabled wayland-protocols-plasma for the org_kde_kwin_blur_manager protocol. That crate is MIT, but the blur protocol XML it turns into code is LGPL-2.1-or-later, so every Linux build compiled LGPL-derived bindings. The new `wayland-kde-blur` feature, off by default and not part of `wayland`, enables the dependency and the blur code. Without it, Window::set_blur and WindowAttributes::with_blur are ignored on Wayland and the window logs the request at info level. With it, blur works as before. CI gets a job that fails when the default features, or any feature other than `wayland-kde-blur`, bring in wayland-protocols-plasma, and a Linux row that builds, tests and lints with `wayland-kde-blur`.