background: Correctly apply the matrix in the fallback border code.

This commit is contained in:
Emmanuel Lepage Vallee 2021-10-30 22:43:46 -07:00
parent cbf62c5b2d
commit 4df1cd6315
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function background._use_fallback_algorithm()
cairo.Rectangle { x = 0, y = 0, width = mat.x0 + width, height = mat.y0 + height })
local mask_cr = cairo.Context(mask)
mask_cr:translate(mat.x0, mat.y0)
mask_cr:set_matrix(mat)
-- Clear the surface.
mask_cr:set_operator(cairo.Operator.CLEAR)