upcoming xi2 and current XTest implementation
simon.thum at gmx.de
Sat May 30 01:03:06 PDT 2009
Peter Hutterer wrote:
> On Fri, May 29, 2009 at 03:42:02PM +0200, Simon Thum wrote:
>> I wonder if one couldn't just do a Xi1 XOpenDevice() to 'convert'
>> Id->Device* ? Any known reasons?
> I'm not sure I understand what you mean, but
> - XOpenDevice() is an XI 1 call and I really encourage not to mix XI1 and
> - XOpenDevice() does and can only do 8 bit deviceids
> - XOpenDevice() is actually a protocol request (that also performs stuff
> such as enabling the opened device on the server) so it's quite expensive
> for simply an ID conversion
> - XOpenDevice() can result in BadDevice errors, especially for the VCP/VCK.
I guess that counts as 'known reasons' :) Especially #2 and #4 are new
More information about the xorg