From b8e93f9c5598d5452e08728546677a977e41617f Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Wed, 14 Jun 2006 04:44:01 -0700 Subject: [PATCH] Bug 4882: Flag Sun's X server has having buggy_repeat. This is the Sun labelling of Xorg 6.8 as shipped with Solaris 10. --- src/cairo-xlib-surface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c index ad00416fe..6ec2574f6 100644 --- a/src/cairo-xlib-surface.c +++ b/src/cairo-xlib-surface.c @@ -1868,6 +1868,9 @@ _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) <= 60800000) + surface->buggy_repeat = TRUE; } surface->dst_picture = None;