Mercurial > emacs
comparison src/xterm.c @ 29744:1ac32ce72622
(XTread_socket) <KeyPress>: In case XmbLookupString
returns XLookupChars, reset `modifiers' to zero.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 19 Jun 2000 15:59:07 +0000 |
parents | acaa36b47f50 |
children | 4235764941b5 |
comparison
equal
deleted
inserted
replaced
29743:1d802b332e0d | 29744:1ac32ce72622 |
---|---|
9432 } | 9432 } |
9433 | 9433 |
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 (); |
9441 } | 9444 } |
9442 else | 9445 else |