diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-01-31 21:18:33 +0200 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-01-31 21:18:33 +0200 |
| commit | 3200ac24848dd8820ad65b5ec83dc741999b1581 (patch) | |
| tree | 77580b1ac7bfcc216f53a30547ec0ce449145445 /src | |
| parent | 92a7a55e18752147f71fa4155ee74b948d78a3de (diff) | |
| download | i3bar-mango-3200ac24848dd8820ad65b5ec83dc741999b1581.tar.gz | |
cursor.rs: fix typo
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); |
