From 2cca621e3996246d46a43bb6a4a6df335bf33466 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 21 Feb 2011 21:54:17 +0100 Subject: 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 Backported-to-NX-by: Ulrich Sibiller --- nx-X11/lib/X11/imLcIc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nx-X11/lib/X11/imLcIc.c') 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) { -- cgit v1.2.3