[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.
This commit is contained in:
elaine 2007-05-10 13:58:44 -04:00 committed by Behdad Esfahbod
parent ab6a767cf4
commit 195112697f

View file

@ -2015,9 +2015,6 @@ _cairo_xlib_surface_create_internal (Display *dpy,
} 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;