On 7 Sep 2001, Pontus Lidman wrote:

> Hello,
> 
> I assume that it is legal to extend the WindowOptRec structure (in
> windowstr.h) with extension-specific data, such as the Shape extension
> does. However, windowstr.h is included in many places, and not all of
> these have $(XTOP)/include/extensions in the include path when
> compiling, so it's a bit hard to include the extension-specific
> structures.

   There should be no reason to do this.  You can create as much
window private space as you want.  For the most part the DIX structures
are off limits.  In my opinion there are alot of things in SHAPE
that shouldn't be in DIX, but some were unavoidable to the creators
caved in.   SHAPE is somewhat different than any extension you 
write because it is an offical XConsortium standard.

   So basically, I think the solution you are looking towards is
the wrong one.  There are better ways.


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to