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.
This commit is contained in:
Brian Cameron 2006-06-14 04:44:01 -07:00 committed by Carl Worth
parent 32d049a7bf
commit b8e93f9c55

View file

@ -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;