From 195112697fac77e70ef36e00a2d557eda1e0e145 Mon Sep 17 00:00:00 2001 From: elaine Date: Thu, 10 May 2007 13:58:44 -0400 Subject: [PATCH] [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. --- src/cairo-xlib-surface.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index 19227b895..f63fa5b0e 100644 --- a/src/cairo-xlib-surface.c +++ b/src/cairo-xlib-surface.c @@ -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;