diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-10-30 05:09:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-10-30 05:09:38 +0000 |
commit | f7abf0d1a4ea719e960374fd9d3f0e1a503f7fd6 (patch) | |
tree | 88ce9183d9a152c12701a630ba609efd846064fa /src | |
parent | 8e6ca4d957bf7dc3a26c84364dea4f81e4e20db4 (diff) | |
download | emacs-f7abf0d1a4ea719e960374fd9d3f0e1a503f7fd6.tar.gz |
(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) | dpyinfo->hyper_mod_mask | dpyinfo->alt_mod_mask); + /* In case Meta is ComposeCharacter, + clear its status. According to Markus Ehrnsperger + Markus.Ehrnsperger@lehrstuhl-bross.physik.uni-muenchen.de + this enables ComposeCharacter to work whether or + not it is combined with Meta. */ + if (modifiers & dpyinfo->meta_mod_mask) + bzero (&compose_status, sizeof (compose_status)); + #ifdef HAVE_X_I18N if (FRAME_XIC (f)) { |