diff options
| author | Jan Djärv | 2004-01-16 10:21:54 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-01-16 10:21:54 +0000 |
| commit | a633a9544b7099c7ec6dc53182d830571bf1a442 (patch) | |
| tree | 8ffe20434c2484a46313435f3c3e9253e158d596 /src | |
| parent | 3e7274ae13f33317b965f0faafcde11a26c75ecf (diff) | |
| download | emacs-a633a9544b7099c7ec6dc53182d830571bf1a442.tar.gz emacs-a633a9544b7099c7ec6dc53182d830571bf1a442.zip | |
* xterm.c (handle_one_xevent): Don't handle characters that are part
of an old style (XLookupString) compose sequence.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xterm.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8914c65e41f..147ba58dd69 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-01-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xterm.c (handle_one_xevent): Don't handle characters that are part | ||
| 4 | of an old style (XLookupString) compose sequence. | ||
| 5 | |||
| 1 | 2004-01-15 Kenichi Handa <handa@m17n.org> | 6 | 2004-01-15 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * search.c (Freplace_match): Use make_multibyte_string or | 8 | * search.c (Freplace_match): Use make_multibyte_string or |
diff --git a/src/xterm.c b/src/xterm.c index 635ba643035..2c6cb44d159 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6305,6 +6305,11 @@ handle_one_xevent (dpyinfo, eventp, bufp_r, numcharsp, finish) | |||
| 6305 | &compose_status); | 6305 | &compose_status); |
| 6306 | #endif | 6306 | #endif |
| 6307 | 6307 | ||
| 6308 | /* If not using XIM/XIC, and a compose sequence is in progress, | ||
| 6309 | we break here. Otherwise, chars_matched is always 0. */ | ||
| 6310 | if (compose_status.chars_matched > 0 && nbytes == 0) | ||
| 6311 | break; | ||
| 6312 | |||
| 6308 | orig_keysym = keysym; | 6313 | orig_keysym = keysym; |
| 6309 | 6314 | ||
| 6310 | if (numchars > 1) | 6315 | if (numchars > 1) |