The unreleased changelog gets a Changed entry: window blur on Wayland
needs `wayland-kde-blur`, `Window::set_blur` and
`WindowAttributes::with_blur` do nothing on Wayland without it, and the
implicit `wayland-protocols-plasma` feature has been removed.
FEATURES.md describes Window blur and names the feature. The W42 row in
PATCHES.md names commit `0ecdbe5e` and this pull request.
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`.
eframe never gives winit an activation token, so with StartupNotify=true
GNOME kept its busy cursor for 15 seconds after the window appeared, and a
Wayland window opened without focus. The first window created without a
token now takes the one the launcher put in the environment
(XDG_ACTIVATION_TOKEN on Wayland, DESKTOP_STARTUP_ID on X11) and hands it
back as a token given through with_activation_token would be. Later
windows don't reuse the spent token, and an empty or oversized (over 1,024
bytes) token is ignored. The variable is left in the environment, unlike
reset_activation_token_env: changing the environment while other threads
may read it is unsound.
Port of PdfCraft's vendored winit patch (14), from storytold/cadcraft#2030.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>