Xkb extension breaks KeyPress handling in Xt with multiple keyboard layouts (groups)

Andreas Wettstein wettstein509 at solnet.ch
Thu Jan 19 11:38:19 PST 2012

jumbophut <jumbophut <at> gmail.com> writes:

> A solution would be to set the bits in event.modifierMask to 1 only if
> Xt knows about them.  Other bits (13 and 14, used for Xkb) would be
> set to 0 in TMParse.c (that is "don't care" about these bits).  The
> modifier "None" then might become slightly misleading, but will do
> exactly what was intended when Xt was written and make "None" useful
> again.

To me, this seems to be the best solution.

> Maybe this is academic, given that (1) many people will not be using
> Xt any more and (2) people will not use the None modifier anyway
> because NumLock and CapsLock can mess with it.

I do not know about the None modifier, but Xt is still used in quite
a number of programs.  I believe it would be worthwile if the fix you
propose would be implemented.


More information about the xorg mailing list