diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c index 77681511ee1..9b3bdebc950 100644 --- a/dlls/winex11.drv/keyboard.c +++ b/dlls/winex11.drv/keyboard.c @@ -2401,7 +2401,7 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState, { WARN("Unknown virtual key %X !!!\n", virtKey); wine_tsx11_unlock(); - return virtKey; /* whatever */ + return 0; } else TRACE("Found keycode %d (0x%2X)\n",e.keycode,e.keycode);