]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (handle_one_xevent): Don't handle characters that are part
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 16 Jan 2004 10:21:54 +0000 (10:21 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 16 Jan 2004 10:21:54 +0000 (10:21 +0000)
  of an old style (XLookupString) compose sequence.

src/ChangeLog
src/xterm.c

index 8914c65e41f5978ee90257ff4704b3eb27e10f2f..147ba58dd69dc3ecc0fc2796e0d1a6276237e4e8 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-16  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * xterm.c (handle_one_xevent): Don't handle characters that are part
+       of an old style (XLookupString) compose sequence.
+
 2004-01-15  Kenichi Handa  <handa@m17n.org>
 
        * search.c (Freplace_match): Use make_multibyte_string or
index 635ba643035eb8919f2765a28c1f8f31ed056256..2c6cb44d1590d57f958f17148bff819b525da866 100644 (file)
@@ -6305,6 +6305,11 @@ handle_one_xevent (dpyinfo, eventp, bufp_r, numcharsp, finish)
                                   &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)