[RFC] Device hierarchy for MPX

Daniel Stone daniel at fooishbar.org
Tue Sep 18 15:12:32 PDT 2007


On Tue, Sep 18, 2007 at 11:35:52PM +0200, Simon Thum wrote:
> 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.

Er, that would be two-keyboards-one-pointer.  In the
two-pointers-one-keyboard case, the keyboard will always be associated
with a pointer.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070919/f2fd211a/attachment.pgp>


More information about the xorg mailing list