Commit fdd9d55e authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(XTread_socket) <KeyPress>: In case XmbLookupString

returns XLookupChars, reset `modifiers' to zero.
parent 4f5c1376
......@@ -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 ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment