Also flag older XFree86 servers as buggy-repeat.

This commit is contained in:
Owen Taylor 2005-06-28 13:28:53 +00:00
parent e0982300ca
commit 6d65ee6fc4
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2005-06-28 Owen Taylor <otaylor@redhat.com>
* src/cairo-xlib-surface.c (_cairo_xlib_surface_create_internal): Also
flag older XFree86 servers as buggy-repeat.
2005-06-28 T Rowley <tim.rowley@gmail.com>
* src/cairo-atsui-font.c (_cairo_atsui_font_text_to_glyphs):

View file

@ -1355,6 +1355,9 @@ _cairo_xlib_surface_create_internal (Display *dpy,
if (strcmp (ServerVendor (dpy), "The X.Org Foundation") == 0) {
if (VendorRelease (dpy) <= 60802000)
surface->buggy_repeat = TRUE;
} else if (strcmp (ServerVendor (dpy), "The XFree86 Project, Inc") == 0) {
if (VendorRelease (dpy) <= 40400000)
surface->buggy_repeat = TRUE;
}
surface->dst_picture = None;