diff options
| author | srdusr <[email protected]> | 2026-08-30 21:15:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2026-08-30 21:15:00 +0200 |
| commit | 9a7f30050f8efc52340e698031a7a55a105e72c4 (patch) | |
| tree | 16e9becf63a51e706034bcd014320cdaafbe8b52 /crates/wayland/src/decoration.rs | |
| parent | f2f9ed1b3f9c49b323ce591eb72a406058d324a4 (diff) | |
| download | srdwm-main.tar.gz srdwm-main.zip | |
Diffstat (limited to 'crates/wayland/src/decoration.rs')
| -rw-r--r-- | crates/wayland/src/decoration.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wayland/src/decoration.rs b/crates/wayland/src/decoration.rs index 21002f7..1e4f1e5 100644 --- a/crates/wayland/src/decoration.rs +++ b/crates/wayland/src/decoration.rs @@ -235,7 +235,7 @@ pub fn render_snap_flyout(columns: u32, cell_width: u32, cell_height: u32, label let mut buf = vec![0u8; width * height * 4]; let bg_px = rgb_to_bgra(bg, 255); - for px in buf.chunks_exact_mut(4) { + for px in buf.as_chunks_mut::<4>().0 { px.copy_from_slice(&bg_px); } |