Commit 175989db authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Bugfix: ToAscii should not generate ASCII code when key-up flag is set.

parent 9cfeb5b8
......@@ -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;
......
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