[cairo] Problem with handling of buggy_gradients
support at microxwin.com
Thu Dec 5 19:19:29 PST 2013
I am looking at the following code fragment in the current version of
| /* Prior to Render 0.10, there is no protocol support for gradients and
* we call function stubs instead, which would silently consume the drawing.
#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
display->buggy_gradients = TRUE;
display->buggy_gradients = FALSE;
The problem with this fix is that it will only work correctly if both X-client and X-server are
running on the same machine. If the X-server is running on a remote machine with RENDER_MINOR < 10 this
won't work. We should use XRenderQueryVersion() instead.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo