winex11: Be more conservative when matching keys from built-in layout tables.

oldstable
Ken Thomases 2012-05-31 15:33:23 -05:00 committed by Alexandre Julliard
parent c8a22a4d1f
commit 43984f355a
1 changed files with 1 additions and 1 deletions

View File

@ -1729,7 +1729,7 @@ void X11DRV_InitKeyboard( Display *display )
* with appropriate ShiftMask and Mode_switch, use XLookupString
* to get character in the local encoding.
*/
ckey[i] = keysym & 0xFF;
ckey[i] = (keysym <= 0x7F) ? keysym : 0;
}
} else {
ckey[i] = KEYBOARD_MapDeadKeysym(keysym);