Localize the «Compoze» key combinations?

wettstae at gmail.com wettstae at gmail.com
Tue Jan 20 11:44:05 PST 2015


If you are willing to modify your libX11, something you might want to
try is to change libX11/modules/im/ximcp/imLcFlt.c such that the calls
to XLookupString are done with a modified value of ev->xkey.state.  You
mask out the two bits of the state that determine the group.  For
compose sequences, this has the effect as if always the primary group
would be active.  For this to work as you want, you must make us your
primary and ru your secondary layout.

Andreas


More information about the xorg mailing list