[RFC XI 2.1 - inputproto] Various fixes in response to Peter Hutterer's review

Chase Douglas chase.douglas at canonical.com
Fri Dec 3 06:39:25 PST 2010


On 12/03/2010 07:53 AM, Denis Dzyubenko wrote:
> On 1 December 2010 22:27, Daniel Stone <daniel at fooishbar.org> wrote:
>> Chase and I talked quickly about hints for this: clients being able to
>> say 'please do not send me any more events from this touch stream', for
>> cases like a global gesture recogniser that has decided it sees nothing
>> of use to it, as well as the corresponding 'please do not send any other
>> clients any more events from this touch stream', for when a client has
>> decided that the touch stream is meaningful to it, and that it won't
>> pass it on.  This would pretty much solve my concerns, except that it's
>> an irritating burden for app developers, and would probably be
>> reasonably difficult to get correct.  The penalty for forgetting to do
>> it, or getting it wrong, would be waking up every app with a touch
>> selection in the window trace every time you have an event, as well as
>> making them copy in the touch data, etc.
> 
> 
> quote:
>> clients being able to say 'please do not send me any more events from this touch stream',
> 
> quote:
>> global gesture recogniser that has decided it sees nothing
>> of use to it, as well as the corresponding 'please do not send any other
>> clients any more events from this touch stream', for when a client has
>> decided that the touch stream is meaningful to it
> 
> haven't we agreed on that by using grabs?

Yes and no :). The most confusing part of all this is that nothing has
been set in stone, least of which the terminology. I believe Daniel is
just noting the desired functionality, which will likely be implemented
using "grabs". However, touch grabs may behave a little differently in
that it will be possible to have tentative, not-for-you-yet touch events
sent to multiple clients.

-- Chase


More information about the xorg-devel mailing list