diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 655627abded..3b94e3b871c 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6310,6 +6310,14 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) | |||
| 6310 | goto done_keysym; | 6310 | goto done_keysym; |
| 6311 | } | 6311 | } |
| 6312 | 6312 | ||
| 6313 | /* Keysyms directly mapped to Unicode characters. */ | ||
| 6314 | if (keysym >= 0x01000100 && keysym <= 0x0110FFFF) | ||
| 6315 | { | ||
| 6316 | inev.ie.kind = MULTIBYTE_CHAR_KEYSTROKE_EVENT; | ||
| 6317 | inev.ie.code = keysym & 0xFFFFFF; | ||
| 6318 | goto done_keysym; | ||
| 6319 | } | ||
| 6320 | |||
| 6313 | /* Now non-ASCII. */ | 6321 | /* Now non-ASCII. */ |
| 6314 | if (HASH_TABLE_P (Vx_keysym_table) | 6322 | if (HASH_TABLE_P (Vx_keysym_table) |
| 6315 | && (NATNUMP (c = Fgethash (make_number (keysym), | 6323 | && (NATNUMP (c = Fgethash (make_number (keysym), |