aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-06-19 15:59:07 +0000
committerGerd Moellmann2000-06-19 15:59:07 +0000
commitfdd9d55e577251ee2e2458968facae4ff7c48707 (patch)
treef45567cee74afa00b10dd6b76887777385f32376
parent4f5c1376093d5820a0e1e460f6275871a2412e67 (diff)
downloademacs-fdd9d55e577251ee2e2458968facae4ff7c48707.tar.gz
emacs-fdd9d55e577251ee2e2458968facae4ff7c48707.zip
(XTread_socket) <KeyPress>: In case XmbLookupString
returns XLookupChars, reset `modifiers' to zero.
-rw-r--r--src/xterm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index ad00a4eccf1..3b774e3b621 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9434,7 +9434,10 @@ XTread_socket (sd, bufp, numchars, expected)
9434 if (status_return == XLookupNone) 9434 if (status_return == XLookupNone)
9435 break; 9435 break;
9436 else if (status_return == XLookupChars) 9436 else if (status_return == XLookupChars)
9437 keysym = NoSymbol; 9437 {
9438 keysym = NoSymbol;
9439 modifiers = 0;
9440 }
9438 else if (status_return != XLookupKeySym 9441 else if (status_return != XLookupKeySym
9439 && status_return != XLookupBoth) 9442 && status_return != XLookupBoth)
9440 abort (); 9443 abort ();