diff options
author | Andreas Wettstein <wettstein509@solnet.ch> | 2011-11-08 20:18:09 +0000 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2016-10-19 21:40:25 +0200 |
commit | 4ef27790b18d697aaa4b5cd38d9f896eaeffd469 (patch) | |
tree | 97006a76e90f97bf27afee48b05aa92d3a738742 /README.NX-development | |
parent | b8b885daf7b6b368c8ad7a31dfc89b44f993d21b (diff) | |
download | nx-libs-4ef27790b18d697aaa4b5cd38d9f896eaeffd469.tar.gz nx-libs-4ef27790b18d697aaa4b5cd38d9f896eaeffd469.tar.bz2 nx-libs-4ef27790b18d697aaa4b5cd38d9f896eaeffd469.zip |
XIM: Allow modifier releases in compose sequences (#26705)
Currently, only non-modifier keys (actually, keysyms) can be part of a compose
sequence, and they are matched against the defined compose sequences at the
time the key is pressed. The patch allows to use modifier keys an well, but
matches them on key release, and only if no other key has been pressed after
the modifier.
Releasing a non-matched modifier during an ongoing compose sequence only aborts
the sequence if any modifier release would have matched. In particular, if no
compose sequences with modifiers are specified, the compose mechanism works
exactly as without this patch.
Even if modifiers are part of a compose sequence, they are not filtered. This
is because modifiers affect the keyboard state no matter what we do here and,
therefore, filtering them only could confuse clients.
The purpose is this extension to the compose mechanism is to allow to make
better use of keys in convenient reach for touch typing.
Signed-off-by: Andreas Wettstein <wettstein509@solnet.ch>
Signed-off-by: James Cloos <cloos@jhcloos.com>
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'README.NX-development')
0 files changed, 0 insertions, 0 deletions