summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/fix-xcopyarea-with-clips.patch
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 15:43:51 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 15:43:51 -0500
commitb0e23e79e72b7892b826fabea4f9e02c421d2861 (patch)
tree26f20aea660514c213a3ae942eab222e5ccebde3 /gfx/cairo/fix-xcopyarea-with-clips.patch
parent03590a6711d601ef3ddb48787e9f3f556705b5db (diff)
parentb00601953bade944cd6df9cde6fcdd1f10d76feb (diff)
downloadUXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar
UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.gz
UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.lz
UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.tar.xz
UXP-b0e23e79e72b7892b826fabea4f9e02c421d2861.zip
Merge branch 'master' into mailnews-work
Diffstat (limited to 'gfx/cairo/fix-xcopyarea-with-clips.patch')
-rw-r--r--gfx/cairo/fix-xcopyarea-with-clips.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/gfx/cairo/fix-xcopyarea-with-clips.patch b/gfx/cairo/fix-xcopyarea-with-clips.patch
deleted file mode 100644
index 6bf3320b6..000000000
--- a/gfx/cairo/fix-xcopyarea-with-clips.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From: Benjamin Otte <otte@redhat.com>
-Date: Thu, 29 Apr 2010 16:20:59 +0000
-Subject: xlib: Don't modify variables that are needed later
-
-In the XCopyArea region code, don't modify src_x/y when they are later
-used in the unbounded fixup code.
-
-Exposed by composite-integer-translate-source test.
----
-diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
-index bedc3fd..30c08d3 100644
---- a/gfx/cairo/cairo/src/cairo-xlib-surface.c
-+++ b/gfx/cairo/cairo/src/cairo-xlib-surface.c
-@@ -2322,10 +2322,10 @@ _cairo_xlib_surface_composite (cairo_operator_t op,
- width, height,
- dst_x, dst_y);
- } else {
-- int n, num_rects;
-+ int n, num_rects, x, y;
-
-- src_x += src_attr.x_offset + itx - dst_x;
-- src_y += src_attr.y_offset + ity - dst_y;
-+ x = src_x + src_attr.x_offset + itx - dst_x;
-+ y = src_y + src_attr.y_offset + ity - dst_y;
-
- num_rects = cairo_region_num_rectangles (clip_region);
- for (n = 0; n < num_rects; n++) {
-@@ -2333,7 +2333,7 @@ _cairo_xlib_surface_composite (cairo_operator_t op,
-
- cairo_region_get_rectangle (clip_region, n, &rect);
- XCopyArea (dst->dpy, src->drawable, dst->drawable, gc,
-- rect.x + src_x, rect.y + src_y,
-+ rect.x + x, rect.y + y,
- rect.width, rect.height,
- rect.x, rect.y);
- }
---
-cgit v0.8.3-6-g21f6