mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-20 07:00:32 +01:00
Liberalize the ServerVendor check so that we can handle the Mandriva vendor string. (#4298, Frederic Crozat)
This commit is contained in:
parent
a4418a63d7
commit
44d6afc8a8
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2005-08-30 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo-xlib-surface.c (_cairo_xlib_surface_create_internal):
|
||||
Liberalize the ServerVendor check so that we can handle
|
||||
the Mandriva vendor string. (#4298, Frederic Crozat)
|
||||
|
||||
2005-08-27 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* src/cairo-pattern.c (_cairo_pattern_acquire_surface_for_gradient):
|
||||
|
|
|
|||
|
|
@ -1646,7 +1646,7 @@ _cairo_xlib_surface_create_internal (Display *dpy,
|
|||
}
|
||||
|
||||
surface->buggy_repeat = FALSE;
|
||||
if (strstr (ServerVendor (dpy), "The X.Org Foundation") != NULL) {
|
||||
if (strstr (ServerVendor (dpy), "X.Org") != NULL) {
|
||||
if (VendorRelease (dpy) <= 60802000)
|
||||
surface->buggy_repeat = TRUE;
|
||||
} else if (strstr (ServerVendor (dpy), "XFree86") != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue