forked from pool/cairo
38e9b47e2a
Copy from GNOME:Factory/cairo based on submit request 21874 from user vuntz OBS-URL: https://build.opensuse.org/request/show/21874 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cairo?expand=0&rev=25
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
Index: cairo-1.8.8/src/cairo-xlib-surface.c
|
|
===================================================================
|
|
--- cairo-1.8.8.orig/src/cairo-xlib-surface.c
|
|
+++ cairo-1.8.8/src/cairo-xlib-surface.c
|
|
@@ -1425,7 +1425,11 @@ _cairo_xlib_surface_set_attributes (cair
|
|
_cairo_xlib_surface_set_repeat (surface, RepeatNormal);
|
|
break;
|
|
case CAIRO_EXTEND_REFLECT:
|
|
+ _cairo_xlib_surface_set_repeat (surface, RepeatReflect);
|
|
+ break;
|
|
case CAIRO_EXTEND_PAD:
|
|
+ _cairo_xlib_surface_set_repeat (surface, RepeatPad);
|
|
+ break;
|
|
default:
|
|
return CAIRO_INT_STATUS_UNSUPPORTED;
|
|
}
|
|
Index: cairo-1.8.8/src/cairo-xcb-surface.c
|
|
===================================================================
|
|
--- cairo-1.8.8.orig/src/cairo-xcb-surface.c
|
|
+++ cairo-1.8.8/src/cairo-xcb-surface.c
|
|
@@ -845,7 +845,12 @@ _cairo_xcb_surface_set_attributes (cairo
|
|
_cairo_xcb_surface_set_repeat (surface, 1);
|
|
break;
|
|
case CAIRO_EXTEND_REFLECT:
|
|
+ _cairo_xcb_surface_set_repeat (surface, 3);
|
|
+ break;
|
|
case CAIRO_EXTEND_PAD:
|
|
+ _cairo_xcb_surface_set_repeat (surface, 2);
|
|
+ break;
|
|
+ default:
|
|
return CAIRO_INT_STATUS_UNSUPPORTED;
|
|
}
|
|
|