mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-29 14:50:44 +02:00
Fix version check for buggy_repeat on modular Xserver 1.x
The versioning of the X server has restarted from 1.0 in the
modular build. So we adjust the text to avoid considering
the new servers buggy.
Cherry picked from commit d4138d1161
This commit is contained in:
parent
957056368b
commit
3551152005
1 changed files with 1 additions and 1 deletions
|
|
@ -2023,7 +2023,7 @@ _cairo_xlib_surface_create_internal (Display *dpy,
|
|||
|
||||
surface->buggy_repeat = FALSE;
|
||||
if (strstr (ServerVendor (dpy), "X.Org") != NULL) {
|
||||
if (VendorRelease (dpy) <= 60802000)
|
||||
if (VendorRelease (dpy) >= 60700000 && VendorRelease (dpy) <= 60802000)
|
||||
surface->buggy_repeat = TRUE;
|
||||
} else if (strstr (ServerVendor (dpy), "XFree86") != NULL) {
|
||||
if (VendorRelease (dpy) <= 40500000)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue