sixel: debug: fix logged width/height values when emitting sixel

image.width and image.height are the scaled dimensions, and these
haven't been set when the log message is printed.
This commit is contained in:
Daniel Eklöf 2024-03-07 16:18:35 +01:00
parent 1568518ab3
commit 1421ba504d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1162,7 +1162,7 @@ sixel_unhook(struct terminal *term)
LOG_DBG("generating %s %dx%d pixman image at %d-%d",
image.opaque ? "opaque" : "transparent",
image.width, image.height,
image.original.width, image.original.height,
image.pos.row, image.pos.row + image.rows);
image.original.pix = pixman_image_create_bits_no_clear(