Extending XFixes Extension
Roland Mainz
roland.mainz at nrubsig.org
Thu Nov 4 12:45:26 PST 2004
Keith Packard wrote:
> > The current Xserver does not give client the ability to query the server to
> > ask it which window belongs to (to client).
>
> While the specification doesn't guarantee the partitioning of the resource
> ID space is the same for every client, the implementation happens to work
> that way. So, identifying windows belonging to the same client is as
> simple as masking their IDs with the resource mask in the Display
> structure.
This will only work with Xservers based on the X.org/Xfree86 codebase.
Remember that there are other Xservers with a completely different
codebase (for example: Weired/WiredX, which are written in JAVA or some
of the MS-Windows Xserver products) which do not work that way.
> Formalizing that in the XFixes documentation would be reasonable (i.e., an
> X server advertising a specific XFIXES version would guarantee that the
> resource ID partitioning was the same for all clients).
Erm... that may cause serious problems for other implemenations. Please
don't do that. Originally the XC-APPGROUP extension was thoght for such
tasks.
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the xorg
mailing list