diff options
author | Ran Benita <ran234@gmail.com> | 2015-02-03 13:23:50 -0500 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:29 +0200 |
commit | 8e3e7bb774beac484c3c74b9f46597a5debad219 (patch) | |
tree | dd9e1d6cc11ba7ca836893bbae318f490d57b60a /nxcomp/PolyText8.cpp | |
parent | 0f1fa85fe03a268c2b3b04978f3a533df1bf3414 (diff) | |
download | nx-libs-8e3e7bb774beac484c3c74b9f46597a5debad219.tar.gz nx-libs-8e3e7bb774beac484c3c74b9f46597a5debad219.tar.bz2 nx-libs-8e3e7bb774beac484c3c74b9f46597a5debad219.zip |
compose: fix the description of modifiers in compose sequences
The Compose format has a feature which allows specifying certain
modifiers must (or must not) be present with a given keysym in the
sequence.
The grammar in imLcPrs.c and the Compose man page both do not match what
the code actually does (see the handling of the variables
`modifier_mask` and `modifier` in parseline() in imLcPrs.c, which are
eventually matched as `ev->state & modifier_mask == modifier`).
Also explicitly list the accepted modifier names, since they are
not standard (e.g. "Ctrl" instead of "Control").
Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: James Cloos <cloos@jhcloos.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nxcomp/PolyText8.cpp')
0 files changed, 0 insertions, 0 deletions