diff options
| author | Richard M. Stallman | 1996-10-30 05:09:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-30 05:09:38 +0000 |
| commit | 1cf4a0d1a238c38493fb65e29e33fde2b57b88d2 (patch) | |
| tree | c432d33d4092bfe46e6dbf1ca05526440c6e9766 /src | |
| parent | 0e8ab9741068d9a64dcc57ba27bd7b4a21790755 (diff) | |
| download | emacs-1cf4a0d1a238c38493fb65e29e33fde2b57b88d2.tar.gz emacs-1cf4a0d1a238c38493fb65e29e33fde2b57b88d2.zip | |
(XTread_socket, KeyPress case): Clear compose_status
if the key has the meta modifier.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index e124df8dd4c..c85f79216c1 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3732,6 +3732,14 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 3732 | | dpyinfo->hyper_mod_mask | 3732 | | dpyinfo->hyper_mod_mask |
| 3733 | | dpyinfo->alt_mod_mask); | 3733 | | dpyinfo->alt_mod_mask); |
| 3734 | 3734 | ||
| 3735 | /* In case Meta is ComposeCharacter, | ||
| 3736 | clear its status. According to Markus Ehrnsperger | ||
| 3737 | Markus.Ehrnsperger@lehrstuhl-bross.physik.uni-muenchen.de | ||
| 3738 | this enables ComposeCharacter to work whether or | ||
| 3739 | not it is combined with Meta. */ | ||
| 3740 | if (modifiers & dpyinfo->meta_mod_mask) | ||
| 3741 | bzero (&compose_status, sizeof (compose_status)); | ||
| 3742 | |||
| 3735 | #ifdef HAVE_X_I18N | 3743 | #ifdef HAVE_X_I18N |
| 3736 | if (FRAME_XIC (f)) | 3744 | if (FRAME_XIC (f)) |
| 3737 | { | 3745 | { |