[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Need to get the rects from a Region
From:       Keith Packard <keithp () keithp ! com>
Date:       2004-10-29 5:09:24
Message-ID: E1CNP0u-0002F0-R1 () evo ! keithp ! com
[Download RAW message or body]


Around 0 o'clock on Oct 29, David Sharp wrote:

> I don't believe this a good solution, as it is implementation-specific, but
> I wonder if it is safe. How likely is it that the _XRegion struct will
> change?

There are several extension libraries which refer to the internals of the 
_XRegion structure for precisely this purpose.  I assert that this makes 
the _XRegion structure part of the public Xlib API and hence subject to 
the same rules as the rest of the API regarding changes (i.e. it will 
never change).

In the modular xlibs tree, the header file defining these data types
is installed; I expect the same will need to be true of a modularized 
X.org tree as well, otherwise it would not be possible to build the 
extension libraries separate from Xlib.

-keith



[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic