[cairo-commit] src/cairo-xlib-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu May 10 10:58:28 PDT 2007


 src/cairo-xlib-surface.c |    3 ---
 1 files changed, 3 deletions(-)

New commits:
diff-tree 195112697fac77e70ef36e00a2d557eda1e0e145 (from ab6a767cf476c98b466c62dd410d0f61f8dd6bbb)
Author: elaine <elaine.xiong at sun.com>
Date:   Thu May 10 13:58:44 2007 -0400

    [xlib] The buggy_repeat path should be removed for Xsun now
    
    Sun never released a version of Solaris with Xorg with the buggy repeat
    problem.  This patch was only needed for development versions of Solaris
    Nevada (roughly builds 25-30).  The latest S10U release and Nevada releases
    have a fixed Xorg.  So no users should ever encounter this bug.
    
    We need to remove this test because Xsun has the same VendorString and a lower
    VendorRelease number so it falsely triggers buggy_repeat to be turned on.
    They just added Xrender support recently to Xsun, so this wasn't an issue
    before recently.

diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 19227b8..f63fa5b 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -2015,9 +2015,6 @@ _cairo_xlib_surface_create_internal (Dis
     } else if (strstr (ServerVendor (dpy), "XFree86") != NULL) {
 	if (VendorRelease (dpy) <= 40500000)
 	    surface->buggy_repeat = TRUE;
-    } else if (strstr (ServerVendor (dpy), "Sun Microsystems, Inc.") != NULL) {
-	if (VendorRelease (dpy) <= 60900000)
-	    surface->buggy_repeat = TRUE;
     }
 
     surface->dst_picture = None;


More information about the cairo-commit mailing list