atagen

monolith

public
Star0
Watch0

Commit d0ee9644c85a

tarball

atagen <boss@atagen.co>2026-10-19 08:57 UTC

1 file changed+2-0
scene: let window drawing take scale and opacity together

The scale and opacity changes each added a parameter to window_elements and effect_elements in parallel, and the merged signatures tripped clippy.
Modified file: crates/monolith/src/scene.rs+2 additions
@@ -221,6 +221,7 @@ pub fn build(
221221 /// cropped and one smaller has its last row and column stretched over the
222222 /// rest, keeping content aligned with its neighbours. A gliding window is
223223 /// scaled instead, so the client resizing mid-glide does not jump.
224+#[expect(clippy::too_many_arguments)]
224225 fn window_elements(
225226 out: &mut Vec<Draw>,
226227 renderer: &mut VulkanRenderer,
@@ -418,6 +419,7 @@ fn border_width(deco: &Decoration, scale: f64) -> i32 {
418419
419420 /// A window in a spawn transition. Its root surface goes through the effect
420421 /// shader, clamped to fill its rect, and its subsurfaces fade with it.
422+#[expect(clippy::too_many_arguments)]
421423 fn effect_elements(
422424 out: &mut Vec<Draw>,
423425 renderer: &mut VulkanRenderer,