diff src/xterm.c @ 53596:e3e8f1dcc895

* xterm.c (handle_one_xevent): Don't handle characters that are part of an old style (XLookupString) compose sequence.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 16 Jan 2004 10:21:54 +0000
parents 9a1b69cfa7be
children 0bb1ce3944cd
line wrap: on
line diff
--- a/src/xterm.c	Fri Jan 16 01:48:11 2004 +0000
+++ b/src/xterm.c	Fri Jan 16 10:21:54 2004 +0000
@@ -6305,6 +6305,11 @@
                                   &compose_status);
 #endif
 
+          /* If not using XIM/XIC, and a compose sequence is in progress,
+             we break here.  Otherwise, chars_matched is always 0.  */
+          if (compose_status.chars_matched > 0 && nbytes == 0)
+            break;
+
           orig_keysym = keysym;
 
           if (numchars > 1)