Skip to content
Snippets Groups Projects
Commit a52b2777 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

Timoshkov).
parent f8aa3b50
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
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