[cairo-commit] cairo/src cairo-xlib-surface.c,1.84,1.85

Owen Taylor commit at pdx.freedesktop.org
Tue Jun 28 13:28:59 PDT 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv26478/src

Modified Files:
	cairo-xlib-surface.c 
Log Message:
2005-06-28  Owen Taylor  <otaylor at redhat.com>

        * src/cairo-xlib-surface.c (_cairo_xlib_surface_create_internal): Also
        flag older XFree86 servers as buggy-repeat.


Index: cairo-xlib-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-xlib-surface.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- cairo-xlib-surface.c	26 Jun 2005 06:24:19 -0000	1.84
+++ cairo-xlib-surface.c	28 Jun 2005 20:28:56 -0000	1.85
@@ -1355,6 +1355,9 @@
     if (strcmp (ServerVendor (dpy), "The X.Org Foundation") == 0) {
 	if (VendorRelease (dpy) <= 60802000)
 	    surface->buggy_repeat = TRUE;
+    } else if (strcmp (ServerVendor (dpy), "The XFree86 Project, Inc") == 0) {
+	if (VendorRelease (dpy) <= 40400000)
+	    surface->buggy_repeat = TRUE;
     }
 
     surface->dst_picture = None;




More information about the cairo-commit mailing list