]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket) <KeyPress>: In case XmbLookupString
authorGerd Moellmann <gerd@gnu.org>
Mon, 19 Jun 2000 15:59:07 +0000 (15:59 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 19 Jun 2000 15:59:07 +0000 (15:59 +0000)
returns XLookupChars, reset `modifiers' to zero.

src/xterm.c

index ad00a4eccf1c22b4334812f824741337d46aa775..3b774e3b621c10d41aa481aba85b577bc92ec4ae 100644 (file)
@@ -9434,7 +9434,10 @@ XTread_socket (sd, bufp, numchars, expected)
                      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 ();