summaryrefslogtreecommitdiff
path: root/modules/im/ximcp
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-02-21 21:54:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-02-21 21:54:17 +0100
commit40812b53ff5fe548f6eaf43ba4c8781cb43dab43 (patch)
tree68c23e59db26a93effabe9232e894b5b96043d72 /modules/im/ximcp
parentc97c42c49cd5095462abecdf908b416fb0b540b6 (diff)
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>
Diffstat (limited to 'modules/im/ximcp')
-rw-r--r--modules/im/ximcp/imLcIc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/im/ximcp/imLcIc.c b/modules/im/ximcp/imLcIc.c
index 53d53ef..c072808 100644
--- a/modules/im/ximcp/imLcIc.c
+++ b/modules/im/ximcp/imLcIc.c
@@ -180,7 +180,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) {