winex11: Be more conservative when matching keys from built-in layout tables.
This commit is contained in:
parent
c8a22a4d1f
commit
43984f355a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue