diff options
| author | srdusr <[email protected]> | 2025-02-18 21:15:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2025-02-18 21:15:00 +0200 |
| commit | 681a023b04b513b3283d85fe157d6b38987bc42e (patch) | |
| tree | 36501b0c6323039acb9ec7d85a6faccf1cc8c883 /crates/wayland/src/state/mod.rs | |
| parent | 78d889c48e5b1336c73f28a2e2d5c8a571c7dd43 (diff) | |
| download | srdwm-681a023b04b513b3283d85fe157d6b38987bc42e.tar.gz srdwm-681a023b04b513b3283d85fe157d6b38987bc42e.zip | |
Fix clippy warnings surfaced by the merge
Pre-existing issues in the uncommitted rust-rewrite work (unused
imports, over-arity glyph-drawing functions, a couple of complex inline
types, or_insert_with(T::default) instead of or_default(), and one
unsimplified test-only arithmetic expression), plus two imports left
unused by switching to or_default(). None of these are behavior
changes. Full workspace build + clippy -D warnings + test suite (378
tests) all green after this.
Diffstat (limited to 'crates/wayland/src/state/mod.rs')
| -rw-r--r-- | crates/wayland/src/state/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wayland/src/state/mod.rs b/crates/wayland/src/state/mod.rs index e315b2e..a3e9b1a 100644 --- a/crates/wayland/src/state/mod.rs +++ b/crates/wayland/src/state/mod.rs @@ -481,7 +481,7 @@ pub(crate) struct CompState { /// shader instead, `rounded_corners_program`), but costs nothing to /// declare here unconditionally, the same call `rounded_corners_ /// program` itself already makes. - pub(crate) rounded_content_buffers: HashMap<WindowId, (u64, u32, (i32, i32), (i32, i32), MemoryRenderBuffer)>, + pub(crate) rounded_content_buffers: crate::elements::RoundedContentCache, /// Persistent solid-colour buffers backing a window's other three /// border strips (bottom, left, right - `decoration::border_strips`' /// order past index 0), reused by position every frame rather than |