summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-08-30 10:50:27 +0000
committerOwen Taylor <otaylor@redhat.com>2005-08-30 10:50:27 +0000
commit44d6afc8a82c2ede19ccc1e27a123b241be6dc67 (patch)
treee954e7359955f7c1cafc924bd8f37b91603c6842
parenta4418a63d7b837f0f7c20f5ce6a0e8b31edd97d7 (diff)
Liberalize the ServerVendor check so that we can handle the Mandriva vendor string. (#4298, Frederic Crozat)
-rw-r--r--ChangeLog6
-rw-r--r--src/cairo-xlib-surface.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 11a081e0c..2ca943ca4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
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) {