From: Richard M. Stallman Date: Wed, 30 Oct 1996 05:09:38 +0000 (+0000) Subject: (XTread_socket, KeyPress case): Clear compose_status X-Git-Tag: emacs-20.1~3461 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cf4a0d1a238c38493fb65e29e33fde2b57b88d2;p=emacs.git (XTread_socket, KeyPress case): Clear compose_status if the key has the meta modifier. --- 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)) {