[PULL libxkbcommon] Some more fixes and minor enhancements

Daniel Stone daniel at fooishbar.org
Mon Apr 2 04:05:49 PDT 2012


Hi,

On 2 April 2012 11:30, Michal Suchanek <hramrach at gmail.com> wrote:
> I guess the expectations of different people will differ. However,
> CapsLock and NumLock are shared in all systems I tried connecting
> multiple keyboards to so I don't see why Shift should be different.
>
> Note that there are multi-seat and multi-input configurations so I
> guess the modifiers should be shared for one 'input point'. That's not
> the same as 'master device' since every 'input point' has master
> keyboard and master pointer, unfortunately. Then people who want
> independent shifts can split the devices into multiple 'input points',
> and for something weird write an app that listens for events in
> multiple points and does something weird.
>
> That requires that an application can listen to multiple 'input
> points' and tell from which the event came.

Yes, XI2 supports that exact situation you've described (with some
small caveats, but the state from pointer events is derived from the
state of its associated master keyboard), and Wayland will do so more
directly.

Cheers,
Daniel


More information about the xorg-devel mailing list