[cairo] _cairo_xlib_surface_is_compatible

Jim Gettys jg at laptop.org
Wed Feb 21 13:18:38 PST 2007

Yeah, you can just substitute with a check to see if the screen pointers
are the same on the Xlib calls.

There are routines/macros for getting screen pointers.

If I had Xlib to do over again, there would only be screen pointers:
that occurred to me too late in X11 to do, unfortunately.
                                - Jim

On Wed, 2007-02-21 at 14:59 -0500, Behdad Esfahbod wrote:
> It seems to me like _cairo_xlib_surface_is_compatible() should call
> _cairo_xlib_surface_same_screen() instead of comparing the dpy's.  Can
> someone confirm so I fix?
Jim Gettys
One Laptop Per Child

More information about the cairo mailing list