upcoming xi2 and current XTest implementation

Simon Thum simon.thum at gmx.de
Thu May 28 09:38:03 PDT 2009


Christian Beier wrote:
> Hi there,
> with the merge of xi2 coming next week, I wonder what the status of
> XTest with xi2 is. Right now, XTest still pretty much looks like XI
> 1.x, with Device*'s instead of devive ids
> (http://cgit.freedesktop.org/xorg/proto/xextproto/tree/XTest.h).
> Looking at the upcoming libXi in Peters repo, I can see that it only
> offers XIChangeHierarchy() to create MD's, so MPX with the new libXi
> uses device ids _only_ instead of the old Device*'s. So faking MD
> input via XTest wont't work for now or is there a xi2 xextproto branch
> somewhere that I'm missing?
No, but I'll try to get it right. libXi and libXtst use Device*. Device 
Id's are used over the wire (because pointers lose their meaning across 
processes), which is done transparently by libX*.

The fact that xextproto contains  a library header seems somewhat odd to 
me, I guess it's historical.

HTH,

Simon

> 
> Cheers,
>    Christian
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg




More information about the xorg mailing list