[RFC] Device hierarchy for MPX
Simon Thum
simon.thum at gmx.de
Tue Sep 18 14:35:52 PDT 2007
Daniel Stone wrote:
> On Tue, Sep 18, 2007 at 08:58:39PM +0930, Peter Hutterer wrote:
>> Peter Hutterer wrote:
>>> Slave devices (SD) are the actual physical devices. SD's attached to an
>>> MD control the MD's cursor/focus and send core events. SD's can be
>>> "floating" (not attached to an MD), but then do not have a sprite and do
>>> not send core events.
>> Going through the event delivery I did notice that there is one problem
>> with floating devices. Any keyboard in X needs to be paired with a
>> pointer device, otherwise we cannot generate appropriate events etc.
>
> I think the correct thing to do for keyboards without a pointer focus is
> to deliver at (0,0): either that or just pick a random focus.
How about picking the last set focus? Maybe that's complicating things,
but it would support a two-pointer-one-keyboard case, which could be
nice in multihead configs.
More information about the xorg
mailing list