<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am looking at the following code fragment in the current version
of cairo-xlib-display.c<br>
<pre><code> /* 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;
#else
display->buggy_gradients = FALSE;
#endif
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.
Regards
Vasant
</code></pre>
<br>
</body>
</html>