• Andreas Wettstein's avatar
    XIM: Allow modifier releases in compose sequences (#26705) · 4ef27790
    Andreas Wettstein authored
    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: 's avatarAndreas Wettstein <wettstein509@solnet.ch>
    Signed-off-by: 's avatarJames Cloos <cloos@jhcloos.com>
    Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
    4ef27790
Name
Last commit
Last update
bin Loading commit data...
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
nx-X11 Loading commit data...
nxcomp Loading commit data...
nxcompext Loading commit data...
nxcompshad Loading commit data...
nxproxy Loading commit data...
testscripts Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
LICENSE.nxcomp Loading commit data...
Makefile Loading commit data...
README.NX-development Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
fix-patch-whitespace Loading commit data...
make-changelog.sh Loading commit data...
nx-libs.spec Loading commit data...
replace.sh Loading commit data...
roll-tarballs.sh Loading commit data...
version.sh Loading commit data...