aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-02-21 21:54:17 +0100
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:26 +0200
commit2cca621e3996246d46a43bb6a4a6df335bf33466 (patch)
treea1951cd99285ea5c6dd2626a4bf774b96fb8bfd6 /nx-X11/lib/X11
parente4815126b5f0befca091fe7c9ce40477ef1d5f19 (diff)
downloadnx-libs-2cca621e3996246d46a43bb6a4a6df335bf33466.tar.gz
nx-libs-2cca621e3996246d46a43bb6a4a6df335bf33466.tar.bz2
nx-libs-2cca621e3996246d46a43bb6a4a6df335bf33466.zip
Make the Local XIM request key releases for braille
Braille chords management needs key release events. We need to explicitly request then, else GTK would not pass them throught XFilterEvent and braille wouldn't work. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/imLcIc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/imLcIc.c b/nx-X11/lib/X11/imLcIc.c
index 4a452269a..60bda4dcb 100644
--- a/nx-X11/lib/X11/imLcIc.c
+++ b/nx-X11/lib/X11/imLcIc.c
@@ -179,7 +179,7 @@ _XimLocalCreateIC(
values, XIM_CREATEIC, True)) {
goto Set_Error;
}
- ic_values.filter_events = KeyPressMask;
+ ic_values.filter_events = KeyPressMask | KeyReleaseMask;
_XimSetCurrentICValues(ic, &ic_values);
if(_XimSetICDefaults(ic, (XPointer)&ic_values,
XIM_SETICDEFAULTS, res, num) == False) {