From 3200ac24848dd8820ad65b5ec83dc741999b1581 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Tue, 31 Jan 2023 21:18:33 +0200 Subject: cursor.rs: fix typo --- src/cursor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.3.1