Commit 540a2274 authored by Stephane Lussier's avatar Stephane Lussier Committed by Alexandre Julliard

Pressing the delete key using an extended keyboard with numlock on is

not generating anymore a WM_CHAR message.
parent e4f61b63
......@@ -1334,6 +1334,14 @@ INT16 X11DRV_KEYBOARD_ToAscii(
*(char*)lpChar = 0;
ret = 0;
}
/* We have another special case for delete key (XK_Delete) on an
extended keyboard. X returns a char for it, but Windows doesn't */
if (keysym == XK_Delete)
{
*(char*)lpChar = 0;
ret = 0;
}
}
TRACE_(key)("ToAscii about to return %d with char %x\n",
......
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