From fdd9d55e577251ee2e2458968facae4ff7c48707 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 19 Jun 2000 15:59:07 +0000 Subject: [PATCH] (XTread_socket) : In case XmbLookupString returns XLookupChars, reset `modifiers' to zero. --- src/xterm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) 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 (); -- 2.39.5