On Fri, Sep 07, 2001 at 01:39:00PM +0200, Pontus Lidman wrote:
>
>> > Would a patch to add $(XTOP)/include/extensions to the necessary
>> > include paths be accepted, or is there a design decision here that I'm
>> > not aware of?
>>
>> I'm not sure that it *is* legal to do that, at least without discussion
>> with the X Open Group.
>>
>> Essentially windowstr.h is not an XFree86 file, but part of the common
>> X server code.
>
>Now you have me worried. I could not find such restrictions in the X
>license. Where can I get more information about this? Or is there some
>special agreement between the XFree86 project and The Open Group?
It is legal to make whatever changes you like. Whether they'd be
accepted by XFree86 or X.Org is a completely separate issue. Adding
extension-specific fields to WindowOptRec probably wouldn't be accepted
by XFree86 unless there was a very good reason for doing it that way.
Could you do what you need with a Window private
(AllocateWindowPrivateIndex), or does it really need to be in
WindowOptRec? If it really does, I'd probably add a mechanism for
adding privates to it, or add a WindowRec* field to WindowOptRec
so that you could always access the WindowRec's privates from a
WindowOptRec (this assumes that a WindowOptRec is associated with
only one WindowRec, and I don't know if that's the case).
David
--
David Dawes Email: [EMAIL PROTECTED]
Founder/President, Release Engineer
The XFree86 Project, Inc http://www.xfree86.org/~dawes
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert