From 44d6afc8a82c2ede19ccc1e27a123b241be6dc67 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Tue, 30 Aug 2005 10:50:27 +0000 Subject: Liberalize the ServerVendor check so that we can handle the Mandriva vendor string. (#4298, Frederic Crozat) --- ChangeLog | 6 ++++++ src/cairo-xlib-surface.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 11a081e0c..2ca943ca4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-08-30 Owen Taylor + + * 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 * src/cairo-pattern.c (_cairo_pattern_acquire_surface_for_gradient): diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index 9e7979fdb..f1f68d726 100644 --- a/src/cairo-xlib-surface.c +++ b/src/cairo-xlib-surface.c @@ -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) { -- cgit v1.2.3