changeset 29744:1ac32ce72622

(XTread_socket) <KeyPress>: In case XmbLookupString returns XLookupChars, reset `modifiers' to zero.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 19 Jun 2000 15:59:07 +0000
parents 1d802b332e0d
children 5169a108376f
files src/xterm.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Jun 19 15:58:43 2000 +0000
+++ b/src/xterm.c	Mon Jun 19 15:59:07 2000 +0000
@@ -9434,7 +9434,10 @@
 		      if (status_return == XLookupNone)
 			break;
 		      else if (status_return == XLookupChars)
-			keysym = NoSymbol;
+			{
+			  keysym = NoSymbol;
+			  modifiers = 0;
+			}
 		      else if (status_return != XLookupKeySym
 			       && status_return != XLookupBoth)
 			abort ();