Merge branch 'yshui:next' into next

This commit is contained in:
Arda Atci
2022-12-05 21:07:53 +03:00
committed by GitHub
14 changed files with 202 additions and 117 deletions

View File

@@ -357,7 +357,7 @@ bool win_bind_mask(struct backend_base *b, struct managed_win *w) {
auto reg_bound_local = win_get_bounding_shape_global_by_val(w);
pixman_region32_translate(&reg_bound_local, -w->g.x, -w->g.y);
w->mask_image = b->ops->make_mask(
b, (geometry_t){.width = w->g.width, .height = w->g.height}, &reg_bound_local);
b, (geometry_t){.width = w->widthb, .height = w->heightb}, &reg_bound_local);
pixman_region32_fini(&reg_bound_local);
if (!w->mask_image) {