Skip to content

Commit

Permalink
Fix for broken composed keys in x11new.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmcbrine committed Jul 26, 2019
1 parent 24f0a59 commit 985e843
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions x11new/x11.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 985e843

Please sign in to comment.