mirror of
https://github.com/storytold/winit.git
synced 2026-11-30 18:26:33 +01:00
W42: Wayland: document the wayland-kde-blur feature in the changelog and feature notes
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.
This commit is contained in:
1 parent
0ecdbe5e51
commit
3c8df49b66
3 files changed
+10
-1
No files matched your search
@@ -77,6 +77,8 @@ If your PR makes notable changes to Winit's features, please update this section
|
||||
- **Window resize increments**: When the window gets resized, the application can choose to snap the window's
|
||||
size to specific values.
|
||||
- **Window transparency**: Winit allows the creation of windows with a transparent background.
|
||||
- **Window blur**: Winit can ask the system to blur the background of a transparent window. On Wayland
|
||||
this needs the `wayland-kde-blur` feature and a compositor with `org_kde_kwin_blur_manager`.
|
||||
- **Window maximization**: The windows created by winit can be maximized upon creation.
|
||||
- **Window maximization toggle**: The windows created by winit can be maximized and unmaximized after
|
||||
creation.
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ input lives in `craft-tablet`).
|
||||
| W25 | `eb4007da` | X11/Wayland: `platform::latin_layout::KeyEventExtLatinLayout`, the key on the first Latin layout group for shortcuts on non-Latin layouts | none; to be proposed | upstream release with an equivalent | storytold/winit PR #5; craft-libs#198 (K2) |
|
||||
| W26 | `2b9cd1cf` | macOS: replaced text is deleted by UTF-8 byte count with the commit (`WindowExtMacOS::take_ime_delete_surrounding`, same shape as W27) | master: `Ime::DeleteSurrounding` (a new `Ime` variant breaks 0.30 matchers) | the egui → 0.31 move | storytold/winit PR #6 (`d103edae`) |
|
||||
| W27 | `f40c76a2` | Wayland: text-input-v3 surrounding text (`WindowExtWayland::set_ime_surrounding_text`, `set_ime_surrounding_text_with_change_cause`, `clear_ime_surrounding_text`), delete-surrounding attached to the commit (`take_ime_delete_surrounding` → `ImeDeleteSurrounding { before_bytes, after_bytes }`), per-seat preedit ownership and outgoing state waiting for a matching `done` (E21b) | master has both as core API (`Ime::DeleteSurrounding`) | the egui → 0.31 move | storytold/winit PR #7; craft-libs#198 (I7) |
|
||||
| W42 | `fix/kde-blur-optional` | Wayland: the KDE blur protocol (`wayland-protocols-plasma`, whose protocol XML is LGPL-2.1-or-later) is compiled only with the new `wayland-kde-blur` feature, off by default and not part of `wayland`; without it `set_blur`/`with_blur` are ignored on Wayland (CI job `kde-blur-opt-in` checks the dependency graph; CI row `Wayland KDE blur` builds the blur code) | none; master enables `wayland-protocols-plasma` with `wayland` | keep while the suite ships no LGPL code | storytold/vectorcraft#9113 |
|
||||
| W42 | `0ecdbe5e` | Wayland: the KDE blur protocol (`wayland-protocols-plasma`, whose protocol XML is LGPL-2.1-or-later) is compiled only with the new `wayland-kde-blur` feature, off by default and not part of `wayland`; without it `set_blur`/`with_blur` are ignored on Wayland (CI job `kde-blur-opt-in` checks the dependency graph; CI row `Wayland KDE blur` builds the blur code) | none; master enables `wayland-protocols-plasma` with `wayland` | keep while the suite ships no LGPL code | storytold/winit PR #43; storytold/vectorcraft#9113 |
|
||||
|
||||
Conflict resolved by hand: `wayland/seat/mod.rs` `remove_seat` keeps all three cleanups — cancel a
|
||||
file drag (W15), remove the seat from winit's clipboard (W15), destroy the seat's text input (W2).
|
||||
|
||||
@@ -47,3 +47,10 @@ changelog entry.
|
||||
- On Wayland, add `ActiveEventLoopExtWayland::clipboard` and `platform::wayland::Clipboard`, which
|
||||
read and write text on the clipboard through winit's data device, so toolkits don't need to bind
|
||||
a second one.
|
||||
|
||||
### Changed
|
||||
|
||||
- On Wayland, window blur needs the new `wayland-kde-blur` feature, which is off by default and not
|
||||
part of `wayland`. Without it, `Window::set_blur` and `WindowAttributes::with_blur` do nothing on
|
||||
Wayland. The implicit `wayland-protocols-plasma` feature has been removed; enable
|
||||
`wayland-kde-blur` instead.
|
||||
Reference in new issue
Block a user