[cairo-commit] cairo/src cairo-xlib-surface.c,1.116,1.117
Owen Taylor
commit at pdx.freedesktop.org
Sat Aug 27 18:49:08 PDT 2005
Committed by: otaylor
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv19463/src
Modified Files:
cairo-xlib-surface.c
Log Message:
2005-08-27 Owen Taylor <otaylor at redhat.com>
* src/cairo-xlib-surface.c (_cairo_xlib_surface_create_internal):
Make the vendor string check for XFree86 more liberal, to deal
with older versions of gentoo that modified it in a different
way. (#4231, fix from Billy Biggs)
Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -d -r1.116 -r1.117
--- cairo-xlib-surface.c 24 Aug 2005 04:36:08 -0000 1.116
+++ cairo-xlib-surface.c 28 Aug 2005 01:49:06 -0000 1.117
@@ -1649,7 +1649,7 @@
if (strstr (ServerVendor (dpy), "The X.Org Foundation") != NULL) {
if (VendorRelease (dpy) <= 60802000)
surface->buggy_repeat = TRUE;
- } else if (strstr (ServerVendor (dpy), "The XFree86 Project, Inc") != NULL) {
+ } else if (strstr (ServerVendor (dpy), "XFree86") != NULL) {
if (VendorRelease (dpy) <= 40500000)
surface->buggy_repeat = TRUE;
}
More information about the cairo-commit
mailing list