aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-04 11:32:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-11 17:25:41 +0000
commite8f703eb6544867c191ce3e9b2277c12599fab57 (patch)
tree7f181ad373025e55afad4faaf0814461f231f59a
parentrender: resize: call sixel_reflow() after reflowing grids (diff)
sixel: verify-no-overlap: initialize ‘intersection’ pixman region
-rw-r--r--sixel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sixel.c b/sixel.c
index 0d69e658..bea90414 100644
--- a/sixel.c
+++ b/sixel.c
@@ -188,6 +188,7 @@ verify_no_overlap(const struct terminal *term)
six2->pos.row, six2->cols, six2->rows);
pixman_region32_t intersection;
+ pixman_region32_init(&intersection);
pixman_region32_intersect(&intersection, &rect1, &rect2);
assert(!pixman_region32_not_empty(&intersection));