Deliver input events only to window owner

Peter Hutterer peter.hutterer at who-t.net
Wed Dec 2 00:32:51 PST 2015


On 2/12/2015 18:15 , Keith Packard wrote:
> Peter Hutterer <peter.hutterer at who-t.net> writes:
>
>> looks correct, and it would also be fairly trivial to add test cases for
>> this to XIT. I didn't check the spec for the exact wording, but either way
>> we should add it.
>> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
>
> Did you like the semantics of this change? Or would you rather we figure
> out how to define how to pick a single client to deliver keyboard events
> to?

I think it's fine, I can't think of a use-case where guessing who to 
deliver to is better than just restricting it to the owner. Then again, 
I don't write X clients so I'm not the best person to ask :)

Cheers,
   Peter

>> note that this does not handle XI2 raw keyboard events, they will need to be
>> handled as well.
>
> Yup, if we agree on the design of this change, that'll be easy to add.
>



More information about the xorg-devel mailing list