Commit 43984f35 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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

parent c8a22a4d
......@@ -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);
......
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