diff options
author | David Reveman <davidr@novell.com> | 2006-12-07 12:04:30 -0500 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2006-12-07 12:04:30 -0500 |
commit | a41017e069ac88f15b571c10ced921e13cf5cb7f (patch) | |
tree | f66eec9e174b3a5f51fd10d9a4557296245a8975 /libdecoration | |
parent | d0fbe9dca605bf88b2787337b97602a553019afd (diff) |
Fix source offset.
Diffstat (limited to 'libdecoration')
-rw-r--r-- | libdecoration/decoration.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdecoration/decoration.c b/libdecoration/decoration.c index e2a4cbbe..cafdcd72 100644 --- a/libdecoration/decoration.c +++ b/libdecoration/decoration.c @@ -1873,7 +1873,7 @@ _decor_blend_horz_border_picture (Display *xdisplay, } XRenderComposite (xdisplay, op, src, None, dst, - -xSrc, -ySrc, + xSrc, ySrc, 0, 0, x1, y1, x2 - x1, y2 - y1); @@ -2102,8 +2102,8 @@ _decor_blend_vert_border_picture (Display *xdisplay, } }; - t.matrix[0][2] = -ySrc << 16; - t.matrix[1][2] = -xSrc << 16; + t.matrix[0][2] = xSrc << 16; + t.matrix[1][2] = ySrc << 16; XRenderSetPictureTransform (xdisplay, src, &t); @@ -2117,7 +2117,7 @@ _decor_blend_vert_border_picture (Display *xdisplay, else { XRenderComposite (xdisplay, op, src, None, dst, - -xSrc, -ySrc, + xSrc, ySrc, 0, 0, x1, y1, x2 - x1, y2 - y1); } |