mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Bugfix: ToAscii should not generate ASCII code when key-up flag is set.
This commit is contained in:
parent
9cfeb5b88c
commit
175989dbd4
1 changed files with 5 additions and 0 deletions
|
@ -661,6 +661,11 @@ INT16 X11DRV_KEYBOARD_ToAscii(
|
|||
TRACE(keyboard,"scanCode=0, doing nothing\n");
|
||||
return 0;
|
||||
}
|
||||
if (scanCode & 0x8000)
|
||||
{
|
||||
TRACE( keyboard, "Key UP, doing nothing\n" );
|
||||
return 0;
|
||||
}
|
||||
e.display = display;
|
||||
e.keycode = 0;
|
||||
e.state = 0;
|
||||
|
|
Loading…
Reference in a new issue