changeset 16483:1b53fdb98184

(XTread_socket, KeyPress case): Clear compose_status if the key has the meta modifier.
author Richard M. Stallman <rms@gnu.org>
date Wed, 30 Oct 1996 05:09:38 +0000
parents 4e58112986fd
children 96df462c5f15
files src/xterm.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Wed Oct 30 04:48:09 1996 +0000
+++ b/src/xterm.c	Wed Oct 30 05:09:38 1996 +0000
@@ -3732,6 +3732,14 @@
 					| 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))
 		    {