From 985e8439c1d10b1f251feaca35982a3bd10fe810 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Fri, 26 Jul 2019 12:12:57 -0400 Subject: [PATCH] Fix for broken composed keys in x11new. --- x11new/x11.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x11new/x11.c b/x11new/x11.c index 2edac67f..e1b20f9e 100644 --- a/x11new/x11.c +++ b/x11new/x11.c @@ -991,6 +991,11 @@ unsigned long XCursesKeyPress(XEvent *event) XC_LOG(("XCursesKeyPress() - called\n")); + /* In compose -- ignore elements */ + + if (XFilterEvent(event, XCURSESWIN)) + return -1; + /* Handle modifier keys first; ignore other KeyReleases */ if (event->type == KeyRelease)