Commit a52b2777 authored by Alexandre Julliard's avatar Alexandre Julliard

Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry

Timoshkov).
parent f8aa3b50
......@@ -1288,7 +1288,7 @@ void X11DRV_InitKeyboard( BYTE *key_state_table )
int maxlen=0,maxval=-1,ok;
for (i=0; i<syms; i++) {
keysym = XKeycodeToKeysym(display, keyc, i);
if ((keysym<0x800) && (keysym!=' '))
if ((keysym<0x8000) && (keysym!=' '))
{
#ifdef HAVE_XKB
if (!is_xkb || !XkbTranslateKeySym(display, &keysym, 0, &ckey[i], 1, NULL))
......
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