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)