Skip to content
Snippets Groups Projects
Commit 175989db authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard
Browse files

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

parent 9cfeb5b8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment