1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00

(XTread_socket) <KeyPress>: In case XmbLookupString

returns XLookupChars, reset `modifiers' to zero.
This commit is contained in:
Gerd Moellmann 2000-06-19 15:59:07 +00:00
parent 4f5c137609
commit fdd9d55e57

View 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 ();