mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 13:18: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
@ -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…
x
Reference in New Issue
Block a user