--- cairo-0.6.0/src/cairo-xlib-surface.c.orig 2005-07-28 20:43:25.000000000 +0300 +++ cairo-0.6.0/src/cairo-xlib-surface.c 2005-07-31 21:04:20.000000000 +0300 @@ -1468,10 +1468,10 @@ } surface->buggy_repeat = FALSE; - if (strcmp (ServerVendor (dpy), "The X.Org Foundation") == 0) { + if (strstr (ServerVendor (dpy), "The X.Org Foundation") != NULL) { if (VendorRelease (dpy) <= 60802000) surface->buggy_repeat = TRUE; - } else if (strcmp (ServerVendor (dpy), "The XFree86 Project, Inc") == 0) { + } else if (strstr (ServerVendor (dpy), "The XFree86 Project, Inc") != NULL) { if (VendorRelease (dpy) <= 40400000) surface->buggy_repeat = TRUE; }