diff options
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); } |