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/native_lock.rs | |
| parent | f2f9ed1b3f9c49b323ce591eb72a406058d324a4 (diff) | |
| download | srdwm-main.tar.gz srdwm-main.zip | |
Diffstat (limited to 'crates/wayland/src/native_lock.rs')
| -rw-r--r-- | crates/wayland/src/native_lock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wayland/src/native_lock.rs b/crates/wayland/src/native_lock.rs index b5ff7c3..d05b3b3 100644 --- a/crates/wayland/src/native_lock.rs +++ b/crates/wayland/src/native_lock.rs @@ -893,7 +893,7 @@ fn render_ui_box(native: &NativeLock, theme: &srdwm_core::LockConfig) -> (Vec<u8 let panel_alpha = (theme.box_opacity.clamp(0.0, 1.0) * 255.0).round() as u8; if panel_alpha > 0 { let bg = rgb_to_bgra(theme.box_bg, panel_alpha); - for px in buf.chunks_exact_mut(4) { + for px in buf.as_chunks_mut::<4>().0 { px.copy_from_slice(&bg); } } |