Commit 2cca621e authored by Samuel Thibault's avatar Samuel Thibault Committed by Ulrich Sibiller

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: 's avatarSamuel Thibault <samuel.thibault@ens-lyon.org> Backported-to-NX-by: 's avatarUlrich Sibiller <uli42@gmx.de>
parent e4815126
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment