From ca5ea414c8d8e9913e8f24a69e9645e3f4ac0342 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 20 Nov 2015 08:19:48 +0100 Subject: [PATCH] =?UTF-8?q?Issue=20#268=20Repair=20combined=20key=20input?= =?UTF-8?q?=20'e=20-->=20=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/rofi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/rofi.c b/source/rofi.c index 02a5dd25..1e581a3f 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1508,6 +1508,11 @@ MenuReturn menu ( Switcher *sw, char **input, char *prompt, unsigned int *select if ( state.quit ) { continue; } + // This is needed for letting the Input Method handle combined keys. + // E.g. `e into รจ + if ( XFilterEvent ( &ev, main_window) ) { + continue; + } int rc = textbox_keypress ( state.text, xic, &ev ); // Row is accepted.