Liberalize the ServerVendor check so that we can handle the Mandriva vendor string. (#4298, Frederic Crozat)

This commit is contained in:
Owen Taylor 2005-08-30 10:50:27 +00:00
parent a4418a63d7
commit 44d6afc8a8
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-08-30 Owen Taylor <otaylor@redhat.com>
* src/cairo-xlib-surface.c (_cairo_xlib_surface_create_internal):
Liberalize the ServerVendor check so that we can handle
the Mandriva vendor string. (#4298, Frederic Crozat)
2005-08-27 Owen Taylor <otaylor@redhat.com>
* src/cairo-pattern.c (_cairo_pattern_acquire_surface_for_gradient):

View file

@ -1646,7 +1646,7 @@ _cairo_xlib_surface_create_internal (Display *dpy,
}
surface->buggy_repeat = FALSE;
if (strstr (ServerVendor (dpy), "The X.Org Foundation") != NULL) {
if (strstr (ServerVendor (dpy), "X.Org") != NULL) {
if (VendorRelease (dpy) <= 60802000)
surface->buggy_repeat = TRUE;
} else if (strstr (ServerVendor (dpy), "XFree86") != NULL) {