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

not generating anymore a WM_CHAR message.
oldstable
Stephane Lussier 1999-09-10 13:57:59 +00:00 committed by Alexandre Julliard
parent e4f61b6359
commit 540a227452
1 changed files with 8 additions and 0 deletions

View File

@ -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",