summaryrefslogtreecommitdiff
path: root/libdecoration
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2006-12-07 12:04:30 -0500
committerDavid Reveman <davidr@novell.com>2006-12-07 12:04:30 -0500
commita41017e069ac88f15b571c10ced921e13cf5cb7f (patch)
treef66eec9e174b3a5f51fd10d9a4557296245a8975 /libdecoration
parentd0fbe9dca605bf88b2787337b97602a553019afd (diff)
Fix source offset.
Diffstat (limited to 'libdecoration')
-rw-r--r--libdecoration/decoration.c8
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);
}