Daniel Stone daniel at
Mon Mar 1 05:49:22 PST 2010


On Mon, Mar 01, 2010 at 02:35:04PM +0100, Bradley T. Hughes wrote:
> On 03/01/2010 01:41 PM, ext Daniel Stone wrote:
>> Any suggestions? :) Reference to how OS X and/or Windows implement it
>> would be welcome too.
> None at the moment... The current MD semantics mean that any events from 
> a SD attached to an MD (even if we introduce sub-devices) means that the  
> events will be routed to the window that has an implicit grab on the MD,  
> right? So the extra fingers will always be routed to the first window 
> that is pressed, unless I'm missing something... And, as mentioned 
> before, this is what Windows 7 does (at least on my hardware) and *not* 
> what we want in Xorg.

Sure, but this is mitigated by being smart and grabbing explicitly on
the SD.  It may make some sense to state that for Xi2, implicit grabs
are only taken on the provoking SD, rather than the device the event
ends up being delivered through? Peter?

>> You just extend the MD/SD semantics down, so if you have:
>>   [...]
>> then:
>>   [...]
> Is this for explicit or implicit grabs? What if a client is only 
> listening to events from the Master device (as advised by Peter in his 
> blog series)?

Ideally, both (as above).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the xorg-devel mailing list