[PATCH] dix: report XI1 axis values correctly if first_valuator != 0

Thomas Jaeger thjaeger at gmail.com
Tue Sep 22 18:12:01 PDT 2009


This raises an interesting question, though:  How are applications
supposed to keep track of the valuators they're interested in if events
only contain partial valuator information?  XI1 clients can select for
DeviceState and all Motion events to ensure they are always aware of the
valuator state, which seems a little wasteful but at least it'll work.
I see no way for XI2 clients to accomplish the same thing.

Tom

Peter Hutterer wrote:
> On Tue, Sep 22, 2009 at 08:16:21PM -0400, Thomas Jaeger wrote:
>> Hi Peter,
>>
>> Getting this stuff right is getting important now that evdev reports
>> only valuators that changed.  Though I doubt there is any client code
>> out there that interprets first_axis != 0 correctly...
>>
>> Thanks,
>> Tom


More information about the xorg-devel mailing list