Overlay windows and backwards compatibility

Keith Packard keithp at keithp.com
Thu Mar 23 22:32:25 PST 2006


On Thu, 2006-03-23 at 16:00 -0800, Deron Johnson wrote:

> However, I notice that the Xfixes client library performs this
> sort of version checking, converting unsupported routines into
> no-ops. But I notice that the Composite client library doesn't
> do any checking at all. When I added the new functions to the
> Xfixes client library I made sure that XFixesHide/ShowCursor checked
> the version number and simply returned if it wasn't 4.0 or greater.
> But I didn't do this in the Composite client library because
> version checking wasn't being done in any of the other functions.

XFixes is expected to change over time, Composite is not (although it
now has). Most extension libraries leave this kind of version checking
to applications, I'm afraid. I don't know what the best method should
be.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20060323/9505da66/attachment.pgp>


More information about the xorg mailing list