diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/cursor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cursor.rs b/src/cursor.rs index 1ca63ac..ee7509b 100644 --- a/src/cursor.rs +++ b/src/cursor.rs @@ -88,7 +88,7 @@ impl CursorTheme { wl_shm::Format::Argb8888, ); - assert_eq!(image.pixels_argb.len(), canvas.len(),); + assert_eq!(image.pixels_rgba.len(), canvas.len()); canvas.copy_from_slice(&image.pixels_rgba); surface.attach(conn, buffer.wl, 0, 0); |
