libX11: Changes to 'master'
James Cloos
cloos at kemper.freedesktop.org
Sun Dec 11 13:56:35 PST 2011
modules/im/ximcp/imLcFlt.c | 52 ++++++++++++++++++++++++++++++++++++---------
1 file changed, 42 insertions(+), 10 deletions(-)
New commits:
commit d3b3570592e9b9e57f270a0bd86762fd205a2833
Author: Andreas Wettstein <wettstein509 at solnet.ch>
Date: Tue Nov 8 20:18:09 2011 +0000
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 at solnet.ch>
Signed-off-by: James Cloos <cloos at jhcloos.com>
More information about the xorg-commit
mailing list